CustomAnimationControl enum

Set of instruction you can pass into a CustomAnimation.control.

Inheritance

Constructors

CustomAnimationControl()
const

Values

stop → const CustomAnimationControl

Stops the animation at the current position.

STOP → const CustomAnimationControl
play → const CustomAnimationControl

Plays the animation from the current position to the end.

PLAY → const CustomAnimationControl
playReverse → const CustomAnimationControl

Plays the animation from the current position reverse to the start.

PLAY_REVERSE → const CustomAnimationControl
playFromStart → const CustomAnimationControl

Reset the position of the animation to 0.0 and starts playing to the end.

PLAY_FROM_START → const CustomAnimationControl
playReverseFromEnd → const CustomAnimationControl

Reset the position of the animation to 1.0 and starts playing reverse to the start.

PLAY_REVERSE_FROM_END → const CustomAnimationControl
loop → const CustomAnimationControl

Endlessly plays the animation from the start to the end. Make sure to utilize CustomAnimation.child since a permanent animation eats up performance.

LOOP → const CustomAnimationControl
mirror → const CustomAnimationControl

Endlessly plays the animation from the start to the end, then it plays reverse to the start, then forward again and so on. Make sure to utilize CustomAnimation.child since a permanent animation eats up performance.

MIRROR → const CustomAnimationControl

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<CustomAnimationControl>
A constant List of the values in this enum, in order of their declaration.