DefaultMotionEngine class
Default engine: binds controllers for explicit effects, coordinates lifecycle.
- Implemented types
Constructors
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
-
bind(
List< MotionEffect> effects, TickerProvider vsync) → void -
Attaches
effectsto the engine usingvsyncfor explicit animations.override -
buildPipeline(
) → List< MotionRender> -
Builds the ordered render pipeline for the current animation frame.
override
-
configure(
{required bool animationsDisabled, VoidCallback? onRequestRebuild}) → void - Called before bind so the engine knows accessibility and rebuild hooks.
-
dispose(
) → void -
Releases every effect, listener, and animation controller.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Stops active effects and returns them to their initial frame.
override
-
start(
MotionTrigger trigger) → void -
Starts effects configured for
trigger.override -
stop(
) → void -
Stops active effects at their current frame.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited