A collection of common animation curves.

Constants

bounceIn → Curve

An oscillating curve that grows in magnitude.

const _BounceInCurve._()
bounceInOut → Curve

An oscillating curve that first grows and then shrink in magnitude.

const _BounceInOutCurve._()
bounceOut → Curve

An oscillating curve that first grows and then shrink in magnitude.

const _BounceOutCurve._()
decelerate → Curve

A curve where the rate of change starts out quickly and then decelerates; an upside-down f(t) = t² parabola.

const _DecelerateCurve._()
ease → Cubic

A cubic animation curve that speeds up quickly and ends slowly.

const Cubic(0.25, 0.1, 0.25, 1.0)
easeIn → Cubic

A cubic animation curve that starts slowly and ends quickly.

const Cubic(0.42, 0.0, 1.0, 1.0)
easeInOut → 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 → Cubic

A cubic animation curve that starts quickly and ends slowly.

const Cubic(0.0, 0.0, 0.58, 1.0)
elasticIn → ElasticInCurve

An oscillating curve that grows in magnitude while overshootings its bounds.

const ElasticInCurve()
elasticInOut → ElasticInOutCurve

An oscillating curve that grows and then shrinks in magnitude while overshootings its bounds.

elasticOut → ElasticOutCurve

An oscillating curve that shrinks in magnitude while overshootings its bounds.

const ElasticOutCurve()
fastOutSlowIn → Cubic

A curve that starts quickly and eases into its final position.

const Cubic(0.4, 0.0, 0.2, 1.0)
linear → Curve

A linear animation curve.

const _Linear._()

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

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