CalculatorOff class Null safety

State when the calculator is off. On desktop and mobile, the calculator screen is dismissed, but that's awkward on the web, especially if the calculator is embedded in a page. So, in the web case, we turn off the LCD display, and wait in this state to see if the user presses ON at some point.

Inheritance

Constructors

CalculatorOff(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