Curves class

A collection of common animation curves.

See also:

  • Curve, the interface implemented by the constants available from the Curves class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

bounceIn → const Curve
An oscillating curve that grows in magnitude. [...]
const _BounceInCurve._()
bounceInOut → const Curve
An oscillating curve that first grows and then shrink in magnitude. [...]
const _BounceInOutCurve._()
bounceOut → const Curve
An oscillating curve that first grows and then shrink in magnitude. [...]
const _BounceOutCurve._()
decelerate → const Curve
A curve where the rate of change starts out quickly and then decelerates; an upside-down f(t) = t² parabola. [...]
const _DecelerateCurve._()
ease → const Cubic
A cubic animation curve that speeds up quickly and ends slowly. [...]
const Cubic(0.25, 0.1, 0.25, 1.0)
easeIn → const Cubic
A cubic animation curve that starts slowly and ends quickly. [...]
const Cubic(0.42, 0.0, 1.0, 1.0)
easeInOut → const Cubic
A cubic animation curve that starts slowly, speeds up, and then and ends slowly. [...]
const Cubic(0.42, 0.0, 0.58, 1.0)
easeOut → const Cubic
A cubic animation curve that starts quickly and ends slowly. [...]
const Cubic(0.0, 0.0, 0.58, 1.0)
elasticIn → const ElasticInCurve
An oscillating curve that grows in magnitude while overshooting its bounds. [...]
const ElasticInCurve()
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. [...]
const ElasticOutCurve()
fastOutSlowIn → const Cubic
A curve that starts quickly and eases into its final position. [...]
const Cubic(0.4, 0.0, 0.2, 1.0)
linear → const Curve
A linear animation curve. [...]
const _Linear._()