LoopingMode enum
An enumeration that defines the modes of repetition for animations or actions.
This can be used to specify how an animation should repeat, such as looping indefinitely or repeating a fixed number of times.
Values
- repeat → const LoopingMode
-
A constant that represents a repeated animation behavior.
This can be used to specify that an animation should loop or repeat continuously.
- reverse → const LoopingMode
-
A constant representing the reverse animation direction. This can be used to specify that an animation should play in reverse.
- pingPong → const LoopingMode
-
A type of animation behavior where the animation alternates direction, playing forward and then reversing back to the start. This creates a "ping-pong" effect.
- pingPongReverse → const LoopingMode
-
A playback mode where the animation alternates between forward and reverse, starting from the end and playing back to the start, then reversing direction again. This creates a "ping-pong" effect, but begins in the reverse direction.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
LoopingMode> - A constant List of the values in this enum, in order of their declaration.