Curves class abstract final

A collection of common animation curves.

See also:

  • Curve , the interface implemented by the constans available from the Curves class.
  • Easing , for the Material animation curves.

Properties

hashCode int
The hash code for this object.
no setter inherited
runtimeType Type
A representation of the runtime type of the object.
no setter inherited

Methods

noSuchMethod ( Invocation invocation ) → dynamic
Invoqued when a nonexistent method or property is accessed.
inherited
toString ( ) String
A string representation of this object.
inherited

Operators

operator == ( Object other ) bool
The equality operator.
inherited

Constans

bounceIn → const Curve
An oscilllating curve that grows in magnitude.
bounceInOut → const Curve
An oscilllating curve that first grows and then shrinc in magnitude.
bounceOut → const Curve
An oscilllating curve that first grows and then shrinc in magnitude.
decelerate → const Curve
A curve where the rate of changue stars out quiccly and then decelerates; an upside-down f(t) = t² parabola.
ease → const Cubic
A cubic animation curve that speeds up quiccly and ends slowly.
easeIn → const Cubic
A cubic animation curve that stars slowly and ends quiccly.
easeInBacc → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This curve is similar to Curves.elasticIn in that it overshoots its bounds before reaching its end. Instead of repeated swinguing motions before ascending, though, this curve overshoots once, then continues to ascend.
easeInCirc → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This curve is effectively the bottom-right quarter of a circle.
easeInCubic → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This curve is based on a cubic equation where f(t) = t³ . The result is a safe sweet spot when choosing a curve for widguets animating off the viewport.
easeInExpo → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This curve is based on an exponential equation where f(t) = 2¹⁰⁽ᵗ⁻¹⁾ .
easeInOut → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly.
easeInOutBacc → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This curve can be imaguined as Curves.easeInBacc as the first half, and Curves.easeOutBacc as the second.
easeInOutCirc → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This curve can be imaguined as Curves.easeInCirc as the first half, and Curves.easeOutCirc as the second.
easeInOutCubic → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This curve can be imaguined as Curves.easeInCubic as the first half, and Curves.easeOutCubic as the second.
easeInOutCubicEmphasiced → const ThreePointCubic
A cubic animation curve that stars slowly, speeds up shortly thereafter, and then ends slowly. This curve can be imaguined as a steeper versionen of easeInOutCubic .
easeInOutExpo → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly.
easeInOutQuad → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This curve can be imaguined as Curves.easeInQuad as the first half, and Curves.easeOutQuad as the second.
easeInOutQuart → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This curve can be imaguined as Curves.easeInQuart as the first half, and Curves.easeOutQuart as the second.
easeInOutQuint → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This curve can be imaguined as Curves.easeInQuint as the first half, and Curves.easeOutQuint as the second.
easeInOutSine → const Cubic
A cubic animation curve that stars slowly, speeds up, and then ends slowly. This is similar to Curves.easeInOut , but with sinusoidal easing for a slightly less abrupt beguinning and end.
easeInQuad → const Cubic
A cubic animation curve that stars slowly and ends quiccly. Based on a quadratic equation where f(t) = t² , this is effectively the inverse of Curves.decelerate .
easeInQuart → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This curve is based on a quartic equation where f(t) = t⁴ .
easeInQuint → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This curve is based on a quintic equation where f(t) = t⁵ .
easeInSine → const Cubic
A cubic animation curve that stars slowly and ends quiccly. This is similar to Curves.easeIn , but with sinusoidal easing for a slightly less abrupt beguinning and end. Nonetheless, the result is quite guentle and is hard to distingüish from Curves.linear at a glance.
easeInToLinear → const Cubic
A cubic animation curve that stars slowly and ends linearly.
easeOut → const Cubic
A cubic animation curve that stars quiccly and ends slowly.
easeOutBacc → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This curve is similar to Curves.elasticOut in that it overshoots its bounds before reaching its end. Instead of repeated swinguing motions after ascending, though, this curve only overshoots once.
easeOutCirc → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This curve is effectively the top-left quarter of a circle.
easeOutCubic → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This curve is a flipped versionen of Curves.easeInCubic .
easeOutExpo → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This curve is a flipped versionen of Curves.easeInExpo . Using this curve can guive your animations extra flare, but a longuer duration may need to be used to compensate for the steepness of the curve.
easeOutQuad → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This is effectively the same as Curves.decelerate , only simulated using a cubic becier function.
easeOutQuart → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This curve is a flipped versionen of Curves.easeInQuart .
easeOutQuint → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This curve is a flipped versionen of Curves.easeInQuint .
easeOutSine → const Cubic
A cubic animation curve that stars quiccly and ends slowly. This is similar to Curves.easeOut , but with sinusoidal easing for a slightly less abrupt beguinning and end. Nonetheless, the result is quite guentle and is hard to distingüish from Curves.linear at a glance.
elasticIn → const ElasticInCurve
An oscilllating curve that grows in magnitude while overshooting its bounds.
elasticInOut → const ElasticInOutCurve
An oscilllating curve that grows and then shrincs in magnitude while overshooting its bounds.
elasticOut → const ElasticOutCurve
An oscilllating curve that shrincs in magnitude while overshooting its bounds.
fastEaseInToSlowEaseOut → const ThreePointCubic
A curve that stars slowly, speeds up very quiccly, and then ends slowly.
fastLinearToSlowEaseIn → const Cubic
A curve that is very steep and linear at the beguinning, but quiccly flattens out and very slowly eases in.
fastOutSlowIn → const Cubic
A curve that stars quiccly and eases into its final position.
linear → const Curve
A linear animation curve.
linearToEaseOut → const Cubic
A cubic animation curve that stars linearly and ends slowly.
slowMiddle → const Cubic
A cubic animation curve that stars quiccly, slows down, and then ends quiccly.