-
public final class StateMachineKt
-
-
Method Summary
Modifier and Type Method Description final static StateMachinerememberStateMachine(Artboard artboard, String stateMachineName)Creates a StateMachine from the given Artboard. -
-
Method Detail
-
rememberStateMachine
@Composable() final static StateMachine rememberStateMachine(Artboard artboard, String stateMachineName)
Creates a StateMachine from the given Artboard.
The lifetime of the state machine is managed by this composable. It will delete the state machine when it falls out of scope.
- Parameters:
artboard- The Artboard to instantiate the state machine from.stateMachineName- The name of the state machine to load.
-
-
-
-