StateMachineController class Null safety

An AnimationController which controls a StateMachine and provides access to the inputs of the StateMachine.

Inheritance

Constructors

StateMachineController(StateMachine stateMachine)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
inputs Iterable<SMIInput>
A list of inputs available in the StateMachine.
read-only
inputValues HashMap<int, dynamic>
final, inherited
isActive bool
read / write, inherited
isActiveChanged ValueListenable<bool>
read-only, inherited
layerControllers List<LayerController>
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stateMachine StateMachine
final, inherited

Methods

advanceInputs() → void
apply(CoreContext core, double elapsedSeconds) → void
Apply animation to objects registered in core. Note that a core context is specified as animations can be applied to instances.
inherited
dispose() → void
inherited
findInput<T>(String name) SMIInput<T>?
Find an input with a specific backing type and a given name.
init(CoreContext core) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onActivate() → void
@protected, inherited
onDeactivate() → void
@protected, inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromArtboard(Artboard artboard, String stateMachineName) StateMachineController?
Instance a StateMachineController from an artboard with the given stateMachineName. Returns the StateMachineController or null if no StateMachine with stateMachineName is found.