Translation class Null safety

Implemented types

Constructors

Translation(num startValue, num targetValue, num time, [TransitionFunction transition = Transition.linear])
Creates a new Translation.

Properties

currentTime double
The current time of this Animation.
read-only
currentValue num
The current value. [...]
read-only
delay num
The delay before the translation actually starts. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isComplete bool
Indicates if this Translation is completed.
read-only
onComplete VoidFunction
The function that is called when this Translation is completed.
write-only
onStart VoidFunction
The function that is called when this Translation starts. [...]
write-only
onUpdate NumUpdateFunction
The function that is called every time this Translation updates the value.
write-only
roundToInt bool
Specifies if the values should be rounded to an integer. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startValue num
The starting value to animate from.
read-only
targetValue num
The value to animate to.
read-only
totalTime double
The total time of this Animation.
read-only

Methods

advanceTime(num time) bool
This method is called by the Juggler with the time past since the last call. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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