MotionController class
Provides imperative control over attached motion widgets.
A controller can be shared by multiple Motion and TextMotion widgets. Commands apply to every attached motion widget, and calling a command while none are attached does nothing.
Constructors
- MotionController()
- Creates a motion controller.
Properties
- hashCode → int
-
The hash code for this object.
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
-
play(
) → void - Restarts every attached motion from its initial visual state.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited