LinearAnimationInstance class

Constructors

LinearAnimationInstance(LinearAnimation animation, {double speedMultiplier = 1.0})

Properties

animation LinearAnimation
final
didLoop bool
no setter
directedSpeed double
no setter
direction double
Returns the animation's play direction: 1 for forwards, -1 for backwards
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keepGoing bool
Whether the controller driving this animation should keep requesting frames be drawn.
no setter
lastTotalTime double
no setter
progress double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spilledTime double
no setter
time double
Returns the current time position of the animation in seconds
getter/setter pair
totalTime double
no setter

Methods

advance(double elapsedSeconds, {KeyedCallbackReporter? callbackReporter}) bool
apply(CoreContext core, {double mix = 1}) → void
Apply the changes incurred during advance, also automatically fires any accrued events.
clearSpilledTime() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset({double speedMultiplier = 1}) → void
Resets the animation to the starting frame
toString() String
A string representation of this object.
inherited

Operators

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