CustomAnimationControl enum Null safety
Set of instruction you can pass into a CustomAnimation.control.
Constructors
- CustomAnimationControl()
-
const
Values
- stop → const CustomAnimationControl
-
Stops the animation at the current position.
const CustomAnimationControl(0)
- STOP → const CustomAnimationControl
-
@Deprecated('Use lowercase name: stop')
const CustomAnimationControl(1)
- play → const CustomAnimationControl
-
Plays the animation from the current position to the end.
const CustomAnimationControl(2)
- PLAY → const CustomAnimationControl
-
@Deprecated('Use lowercase name: play')
const CustomAnimationControl(3)
- playReverse → const CustomAnimationControl
-
Plays the animation from the current position reverse to the start.
const CustomAnimationControl(4)
- PLAY_REVERSE → const CustomAnimationControl
-
@Deprecated('Use lowercase name: playReverse')
const CustomAnimationControl(5)
- playFromStart → const CustomAnimationControl
-
Reset the position of the animation to
0.0
and starts playing to the end.const CustomAnimationControl(6)
- PLAY_FROM_START → const CustomAnimationControl
-
@Deprecated('Use lowercase name: playFromStart')
const CustomAnimationControl(7)
- playReverseFromEnd → const CustomAnimationControl
-
Reset the position of the animation to
1.0
and starts playing reverse to the start.const CustomAnimationControl(8)
- PLAY_REVERSE_FROM_END → const CustomAnimationControl
-
@Deprecated('Use lowercase name: playReverseFromEnd')
const CustomAnimationControl(9)
- 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.
const CustomAnimationControl(10)
- LOOP → const CustomAnimationControl
-
@Deprecated('Use lowercase name: loop')
const CustomAnimationControl(11)
- 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.
const CustomAnimationControl(12)
- MIRROR → const CustomAnimationControl
-
@Deprecated('Use lowercase name: mirror')
const CustomAnimationControl(13)
Properties
Methods
-
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
Constants
-
values
→ const List<
CustomAnimationControl> -
A constant List of the values in this enum, in order of their declaration.
[stop, STOP, play, PLAY, playReverse, PLAY_REVERSE, playFromStart, PLAY_FROM_START, playReverseFromEnd, PLAY_REVERSE_FROM_END, loop, LOOP, mirror, MIRROR]