Between<T> class

begin, end, Between.constant, Between.of, Between.sequence, Between.sequenceFromGenerator, ... reverse, follow, followOperate, ..., toString

Inheritance
Implementers
Available extensions

Constructors

Between({required T begin, required T end, (Curve, Curve)? curve})
Between.constant({required T begin, required T end, required T onLerp(double value), required (Curve, Curve)? curve})
const
Between.of(T value)

Properties

begin → T
final
curve → (Curve, Curve)?
finalinherited
direction double

Available on Between<Offset>, provided by the BetweenOffsetExtension extension

no setter
end → T
final
hashCode int
The hash code for this object.
no setterinherited
onLerp → T Function(double value)
finalinherited
reverse Between<T>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animate(Animation<double> parent) Animation<T>
Returns a new Animation that is driven by the given animation but that takes on values determined by this object.
inherited
chain(Animatable<double> parent) Animatable<T>
Returns a new Animatable whose value is determined by first evaluating the given parent and then evaluating this object at the result.
inherited
evaluate(Animation<double> animation) → T
The current value of this object for the given Animation.
inherited
follow(T next) Between<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
override
transform(double t) → T
Returns the value of the object at point t.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

lerperOf<T>(T begin, T end) → T Function(double value)