Curves class Null safety
A collection of common animation curves.
See also:
Properties
 hashCode → int

The hash code for this object.
readonly, inherited
 runtimeType → Type

A representation of the runtime type of the object.
readonly, inherited
Methods

noSuchMethod(
Invocation invocation) → dynamic 
Invoked 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
Constants
 bounceIn → const Curve

An oscillating curve that grows in magnitude.
_BounceInCurve._()
 bounceInOut → const Curve

An oscillating curve that first grows and then shrink in magnitude.
_BounceInOutCurve._()
 bounceOut → const Curve

An oscillating curve that first grows and then shrink in magnitude.
_BounceOutCurve._()
 decelerate → const Curve

A curve where the rate of change starts out quickly and then decelerates; an
upsidedown
f(t) = t²
parabola._DecelerateCurve._()
 ease → const Cubic

A cubic animation curve that speeds up quickly and ends slowly.
Cubic(0.25, 0.1, 0.25, 1.0)
 easeIn → const Cubic

A cubic animation curve that starts slowly and ends quickly.
Cubic(0.42, 0.0, 1.0, 1.0)
 easeInBack → const Cubic

A cubic animation curve that starts slowly and ends quickly. This curve
is similar to Curves.elasticIn in that it overshoots its bounds before
reaching its end. Instead of repeated swinging motions before ascending,
though, this curve overshoots once, then continues to ascend.
Cubic(0.6, 0.28, 0.735, 0.045)
 easeInCirc → const Cubic

A cubic animation curve that starts slowly and ends quickly. This curve is
effectively the bottomright quarter of a circle.
Cubic(0.6, 0.04, 0.98, 0.335)
 easeInCubic → const Cubic

A cubic animation curve that starts slowly and ends quickly. This curve is
based on a cubic equation where
f(t) = t³
. The result is a safe sweet spot when choosing a curve for widgets animating off the viewport.Cubic(0.55, 0.055, 0.675, 0.19)
 easeInExpo → const Cubic

A cubic animation curve that starts slowly and ends quickly. This curve is
based on an exponential equation where
f(t) = 2¹⁰⁽ᵗ⁻¹⁾
.Cubic(0.95, 0.05, 0.795, 0.035)
 easeInOut → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly.
Cubic(0.42, 0.0, 0.58, 1.0)
 easeInOutBack → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This curve can be imagined as Curves.easeInBack as the first
half, and Curves.easeOutBack as the second.
Cubic(0.68, 0.55, 0.265, 1.55)
 easeInOutCirc → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This curve can be imagined as Curves.easeInCirc as the first
half, and Curves.easeOutCirc as the second.
Cubic(0.785, 0.135, 0.15, 0.86)
 easeInOutCubic → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This curve can be imagined as Curves.easeInCubic as the first
half, and Curves.easeOutCubic as the second.
Cubic(0.645, 0.045, 0.355, 1.0)
 easeInOutCubicEmphasized → const ThreePointCubic

A cubic animation curve that starts slowly, speeds up shortly thereafter,
and then ends slowly. This curve can be imagined as a steeper version of
easeInOutCubic.
ThreePointCubic(Offset(0.05, 0), Offset(0.133333, 0.06), Offset(0.166666, 0.4), Offset(0.208333, 0.82), Offset(0.25, 1))
 easeInOutExpo → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly.
Cubic(1.0, 0.0, 0.0, 1.0)
 easeInOutQuad → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This curve can be imagined as Curves.easeInQuad as the first
half, and Curves.easeOutQuad as the second.
Cubic(0.455, 0.03, 0.515, 0.955)
 easeInOutQuart → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This curve can be imagined as Curves.easeInQuart as the first
half, and Curves.easeOutQuart as the second.
Cubic(0.77, 0.0, 0.175, 1.0)
 easeInOutQuint → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This curve can be imagined as Curves.easeInQuint as the first
half, and Curves.easeOutQuint as the second.
Cubic(0.86, 0.0, 0.07, 1.0)
 easeInOutSine → const Cubic

A cubic animation curve that starts slowly, speeds up, and then ends
slowly. This is similar to Curves.easeInOut, but with sinusoidal easing
for a slightly less abrupt beginning and end.
Cubic(0.445, 0.05, 0.55, 0.95)
 easeInQuad → const Cubic

A cubic animation curve that starts slowly and ends quickly. Based on a
quadratic equation where
f(t) = t²
, this is effectively the inverse of Curves.decelerate.Cubic(0.55, 0.085, 0.68, 0.53)
 easeInQuart → const Cubic

A cubic animation curve that starts slowly and ends quickly. This curve is
based on a quartic equation where
f(t) = t⁴
.Cubic(0.895, 0.03, 0.685, 0.22)
 easeInQuint → const Cubic

A cubic animation curve that starts slowly and ends quickly. This curve is
based on a quintic equation where
f(t) = t⁵
.Cubic(0.755, 0.05, 0.855, 0.06)
 easeInSine → const Cubic

A cubic animation curve that starts slowly and ends quickly. This is
similar to Curves.easeIn, but with sinusoidal easing for a slightly less
abrupt beginning and end. Nonetheless, the result is quite gentle and is
hard to distinguish from Curves.linear at a glance.
Cubic(0.47, 0.0, 0.745, 0.715)
 easeInToLinear → const Cubic

A cubic animation curve that starts slowly and ends linearly.
Cubic(0.67, 0.03, 0.65, 0.09)
 easeOut → const Cubic

A cubic animation curve that starts quickly and ends slowly.
Cubic(0.0, 0.0, 0.58, 1.0)
 easeOutBack → const Cubic

A cubic animation curve that starts quickly and ends slowly. This curve is
similar to Curves.elasticOut in that it overshoots its bounds before
reaching its end. Instead of repeated swinging motions after ascending,
though, this curve only overshoots once.
Cubic(0.175, 0.885, 0.32, 1.275)
 easeOutCirc → const Cubic

A cubic animation curve that starts quickly and ends slowly. This curve is
effectively the topleft quarter of a circle.
Cubic(0.075, 0.82, 0.165, 1.0)
 easeOutCubic → const Cubic

A cubic animation curve that starts quickly and ends slowly. This curve is
a flipped version of Curves.easeInCubic.
Cubic(0.215, 0.61, 0.355, 1.0)
 easeOutExpo → const Cubic

A cubic animation curve that starts quickly and ends slowly. This curve is
a flipped version of Curves.easeInExpo. Using this curve can give your
animations extra flare, but a longer duration may need to be used to
compensate for the steepness of the curve.
Cubic(0.19, 1.0, 0.22, 1.0)
 easeOutQuad → const Cubic

A cubic animation curve that starts quickly and ends slowly. This is
effectively the same as Curves.decelerate, only simulated using a cubic
bezier function.
Cubic(0.25, 0.46, 0.45, 0.94)
 easeOutQuart → const Cubic

A cubic animation curve that starts quickly and ends slowly. This curve is
a flipped version of Curves.easeInQuart.
Cubic(0.165, 0.84, 0.44, 1.0)
 easeOutQuint → const Cubic

A cubic animation curve that starts quickly and ends slowly. This curve is
a flipped version of Curves.easeInQuint.
Cubic(0.23, 1.0, 0.32, 1.0)
 easeOutSine → const Cubic

A cubic animation curve that starts quickly and ends slowly. This is
similar to Curves.easeOut, but with sinusoidal easing for a slightly
less abrupt beginning and end. Nonetheless, the result is quite gentle and
is hard to distinguish from Curves.linear at a glance.
Cubic(0.39, 0.575, 0.565, 1.0)
 elasticIn → const ElasticInCurve
 An oscillating curve that grows in magnitude while overshooting its bounds.
 elasticInOut → const ElasticInOutCurve
 An oscillating curve that grows and then shrinks in magnitude while overshooting its bounds.
 elasticOut → const ElasticOutCurve
 An oscillating curve that shrinks in magnitude while overshooting its bounds.
 fastLinearToSlowEaseIn → const Cubic

A curve that is very steep and linear at the beginning, but quickly flattens out
and very slowly eases in.
Cubic(0.18, 1.0, 0.04, 1.0)
 fastOutSlowIn → const Cubic

A curve that starts quickly and eases into its final position.
Cubic(0.4, 0.0, 0.2, 1.0)
 linear → const Curve

A linear animation curve.
_Linear._()
 linearToEaseOut → const Cubic

A cubic animation curve that starts linearly and ends slowly.
Cubic(0.35, 0.91, 0.33, 0.97)
 slowMiddle → const Cubic

A cubic animation curve that starts quickly, slows down, and then ends
quickly.
Cubic(0.15, 0.85, 0.85, 0.15)