UIStateManagerFactory class

This factory class can be usde to assemble a UIStateManager instance with all states and transitions.

Constructors

UIStateManagerFactory()

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

addState(UIState state) UIStateManagerFactory
Add a state to the factory.
addStates(Set<UIState> states) UIStateManagerFactory
Adds multiple states to the factory.
addTransition(Transition transition) UIStateManagerFactory
Adds a transition to the factory.
addTransitions(Set<Transition> transitions) UIStateManagerFactory
Adds multiple transitions to the factory.
build({bool validate = true}) UIStateManager
Builds a UIStateManager instance wih the included data and returns it.
createActionTransition(String id, Set<String> sourceIds, String targetId) UIStateManagerFactory
Creates a ActionTransition and adds it to the factory.
createTriggerTransition(String id, String sourceId, String targetId, bool condition()) UIStateManagerFactory
Creates a TriggerTransition and adds it to the factory.
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