IntervalAnimatable<T> class
Evaluates animatable if the animation is in the time-frame of begin (inclusive) and end (inclusive), if not it evaluates the defaultAnimatable
- Inheritance
-
- Object
- Animatable<
T> - IntervalAnimatable
Constructors
- IntervalAnimatable({required Animatable animatable, required Animatable defaultAnimatable, required double begin, required double end})
Properties
- animatable → Animatable
-
final
- begin → double
-
The relative begin to of animatable
If your AnimationController is running from 0->1, this needs to be a value between those two
final
- defaultAnimatable → Animatable
-
final
- end → double
-
The relative end to of animatable
If your AnimationController is running from 0->1, this needs to be a value between those two
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
-
evaluate(
Animation< double> animation) → T -
The current value of this object for the given Animation.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
double t) → T -
Returns the value of the object at point
t
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
chainCurve(
Animatable parent, Interval interval) → Animatable - Chains an Animatable with a CurveTween and the given Interval. Basically, the animation is being constrained to the given interval