OnOffKeyPressed class Null safety

State for after the ON key is pressed, while we're waiting to see if they pick a special function, or maybe press the ON key again to turn the calculator off.

Inheritance

Constructors

OnOffKeyPressed(Controller con)

Properties

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

Methods

abort() → void
inherited
buttonDown(Operation key) → void
override
buttonUp(Operation key) → void
inherited
changeState<T extends ControllerState>(T v) → T
inherited
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
inherited
toString() String
A string representation of this object.
inherited
unreachable() → void
Convenience method to call from an unreachable operation on a state
inherited

Operators

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