AnimationCommand class final
A command that is sent to control an animation by interacting with an animation controller identified by controllerId. The command specifies the method to be executed, such as forward, reverse, repeat, or toggle, on the animation controller. It also identifies the animated property key using animatedPropKey, which is affected by the animation.
Constructors
- AnimationCommand.new({required String controllerId, required AnimationMethod method, required String animatedPropKey})
Properties
- animatedPropKey → String
-
final
- controllerId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → AnimationMethod
-
final
- 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