Interval class

A curve that is 0.0 until begin, then curved (according to curve from 0.0 to 1.0 at end, then 1.0.

An Interval can be used to delay an animation. For example, a six second animation that uses an Interval with its begin set to 0.5 and its end set to 1.0 will essentially become a three-second animation that starts three seconds later.

Inheritance

Constructors

Interval(double begin, double end, { Curve curve: Curves.linear })
Creates an interval curve. [...]
const

Properties

begin double
The largest value for which this interval is 0.0. [...]
final
curve Curve
The curve to apply between begin and end.
final
end double
The smallest value for which this interval is 1.0. [...]
final
flipped Curve
Returns a new curve that is the reversed inversion of this one. [...]
read-only, inherited
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

toString() String
Returns a string representation of this object.
override
transform(double t) double
Returns the value of the curve at point t. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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