ReverseBehaviorType enum

Enumeration of reverse behavior types for tween-based and keyframed acts.

Determines what happens to the animation when the timeline plays in reverse. Set via ReverseBehavior (for tween acts) or KFReverseBehavior (for keyframed acts).

Inheritance
Available extensions

Values

mirror → const ReverseBehaviorType

Reverse plays the forward animatable in reverse (default).

Example: if forward goes 0→1, reverse goes 1→0. Can specify a separate reverse motion/delay, but the same animatable is used for both directions.

exclusive → const ReverseBehaviorType

Forward and reverse have opposite targets.

Example: forward animates to to, reverse animates to from. The forward and reverse animations are essentially swapped.

none → const ReverseBehaviorType

No reverse animation occurs.

When the timeline reverses, this act stops animating.

to → const ReverseBehaviorType

Reverse has a different target than forward.

Forward animates to to, reverse animates to a custom target value or keyframes sequence. Can specify separate motion/delay for reverse.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isExclusive → bool
Whether this type is exclusive.
no setter
isMirror → bool
Whether this type is mirror.
no setter
isNone → bool
Whether this type is none.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
needsReverseTween → bool
Whether this type requires a separate reverse animatable.
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<ReverseBehaviorType>
A constant List of the values in this enum, in order of their declaration.