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
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
model Model<Operation>
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buttonDown(Operation key) → void
override
buttonUp(Operation key) → void
inherited
changeState<T extends ControllerState>(T v) → T
@protected, 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
@protected, inherited

Operators

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