Resting class Null safety

The initial state of the calculator, when it's waiting for input telling it to do something.

Inheritance

Constructors

Resting(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
stackLiftEnabled bool
Tell if stack lift is enabled. This is considered part of the controller's state, but note that the status from a running program reflects back to when a program isn't running. This is important for proper functioning of the R/S key, and SST. The value comes from the RealController.
read / writeinherited

Methods

abort() → void
inherited
buttonDown(Operation key) → void
override
buttonUp(Operation key) → void
inherited
calculate(Operation op, ArgDone arg) → void
changeState<T extends ControllerState>(T v) → T
inherited
getCalculation(ArgDone ad) → (void Function(Model<Operation>)?)
inherited
gosubDoneState(ProgramRunner runner()) ControllerState
override
gosubEntryDone(RunProgramArgInputState from, ArgDone label) → void
override
handleBackspace() → void
override
handleBST() → void
override
handleCHS() → void
override
handleClearPrefix() → void
override
handleClearProgram() → void
override
handleDecimalPoint() → void
override
handleEEX() → void
override
handleGotoDot(int value) → void
override
handleLetterLabel(LetterLabel operation) → void
override
handleNumberKey(int num) → void
override
handleOnOff() → void
override
handlePR() → void
override
handlePSE() → void
inherited
handleRunStop() → void
override
handleShift(ShiftKey k) → void
override
handleShow(IntegerDisplayMode mode) → void
override
handleShowImaginary() → void
override
handleShowMem() → void
override
handleShowStatus() → void
override
handleSST() → void
override
liftStackIfEnabled() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onArgComplete(Operation op, ArgDone arg) → void
Process an Operation with the argument ArgDone, once the argument value is available.
override
onChangedTo() → void
Called by the controller when this state is changed to
inherited
terminateDigitEntry() → void
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