A curve that is 0.0 until start, then curved from 0.0 to 1.0 at end, then 1.0.

Inheritance

Constructors

Interval(double begin, double end, { Curve curve: Curves.linear })

Creates an interval curve.

const

Properties

begin double

The smallest value for which this interval is 0.0.

read-only
curve Curve

The curve to apply between start and end.

read-only
end double

The smallest value for which this interval is 1.0.

read-only
flipped Curve

Returns a new curve that is the reversed inversion of this one. This is often useful as the reverseCurve of an Animation.

read-only, inherited
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

toString() String

Returns a string representation of this object.

transform(double t) double

Returns the value of the curve at point t.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited