CustomAnimationControl enum

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

Inheritance
Available extensions

Values

stop → const CustomAnimationControl

Stops the animation at the current position.

play → const CustomAnimationControl

Plays the animation from the current position to the end.

playReverse → const CustomAnimationControl

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

playFromStart → const CustomAnimationControl

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

playReverseFromEnd → const CustomAnimationControl

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

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.

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.

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.