menu

  1. [ Flutter ](index.html)
  2. [ animation.dart ](animation/animation-library.html)
  3. FlippedCurve class 

FlippedCurve

brightness_4  brightness_5

[ description
](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/animation/curves.dart#L1132
"View source code")

#  FlippedCurve  class

A curve that is the reversed inversion of its given curve.

This curve evaluates the given curve in reverse (i.e., from 1.0 to 0.0 as t
increases from 0.0 to 1.0) and returns the inverse of the given curve's value
(i.e., 1.0 minus the given curve's value).

This is the class used to implement the [ flipped
](animation/Curve/flipped.html) getter on curves.

This is often useful with [ CurvedAnimation.reverseCurve
](animation/CurvedAnimation/reverseCurve.html) .

See also:

  * [ Curve.flipped ](animation/Curve/flipped.html) , which provides the [ FlippedCurve ](animation/FlippedCurve-class.html) of a [ Curve ](animation/Curve-class.html) . 
  * [ ReverseAnimation ](animation/ReverseAnimation-class.html) , which reverses an [ Animation ](animation/Animation-class.html) rather than a [ Curve ](animation/Curve-class.html) . 
  * [ CurvedAnimation ](animation/CurvedAnimation-class.html) , which can take a separate curve and reverse curve. 

Inheritance

    

  * [ Object ](dart-core/Object-class.html)
  * [ ParametricCurve ](animation/ParametricCurve-class.html) < [ double ](dart-core/double-class.html) >
  * [ Curve ](animation/Curve-class.html)
  * FlippedCurve 

##  Constructors

[ FlippedCurve ](animation/FlippedCurve/FlippedCurve.html) (  [ Curve
](animation/Curve-class.html) curve  )

     Creates a flipped curve. 

const

##  Properties

[ curve ](animation/FlippedCurve/curve.html) → [ Curve ](animation/Curve-
class.html)

     The curve that is being flipped. 

final

[ flipped ](animation/Curve/flipped.html) → [ Curve ](animation/Curve-
class.html)

     Returns a new curve that is the reversed inversion of this one. 

no setter  inherited

[ hashCode ](dart-core/Object/hashCode.html) → [ int ](dart-core/int-
class.html)

     The hash code for this object. 

no setter  inherited

[ runtimeType ](dart-core/Object/runtimeType.html) → [ Type ](dart-core/Type-
class.html)

     A representation of the runtime type of the object. 

no setter  inherited

##  Methods

[ noSuchMethod ](dart-core/Object/noSuchMethod.html) (  [ Invocation ](dart-
core/Invocation-class.html) invocation  )  → dynamic

     Invoked when a nonexistent method or property is accessed. 

inherited

[ toString ](animation/FlippedCurve/toString.html) (  )  → [ String ](dart-
core/String-class.html)

     A string representation of this object. 

override

[ transform ](animation/Curve/transform.html) (  [ double ](dart-core/double-
class.html) t  )  → [ double ](dart-core/double-class.html)

     Returns the value of the curve at point ` t ` . 

inherited

[ transformInternal ](animation/FlippedCurve/transformInternal.html) (  [
double ](dart-core/double-class.html) t  )  → [ double ](dart-core/double-
class.html)

     Returns the value of the curve at point ` t ` . 

override

##  Operators

[ operator == ](dart-core/Object/operator_equals.html) (  [ Object ](dart-
core/Object-class.html) other  )  → [ bool ](dart-core/bool-class.html)

     The equality operator. 

inherited

  1. [ Flutter ](index.html)
  2. [ animation ](animation/animation-library.html)
  3. FlippedCurve class 

#####  animation library

Flutter 0.0.0