AnimationTriggerType enum

Represents the different ways that can trigger an animation.

Inheritance

Constructors

AnimationTriggerType()
const

Values

trigger → const AnimationTriggerType

The animation is triggered by a trigger parameter.

oneShot → const AnimationTriggerType

The animation is fired immediately when the widget is built.

afterLast → const AnimationTriggerType

The animation stays idle until the last animation in the chain. This does not give this effect autonomy over its animations, rather it stays idle. The last animation that plays will look up the ancestor tree for the next AnimatedEffect and trigger it manually if shouldTriggerAfterLast is true.

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<AnimationTriggerType>
A constant List of the values in this enum, in order of their declaration.