ControllerState class Null safety

Superclass for all states of a Controller. See the controller.states library documentation for an overview, including a diagram.

Implementers

Constructors

ControllerState(Controller controller)

Properties

controller Controller
final
hashCode int
The hash code for this object.
read-onlyinherited
model Model<Operation>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

abort() → void
buttonDown(Operation key) → void
buttonUp(Operation key) → void
changeState<T extends ControllerState>(T v) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onChangedTo() → void
Called by the controller when this state is changed to
toString() String
A string representation of this object.
inherited
unreachable() → void
Convenience method to call from an unreachable operation on a state

Operators

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