DigitEntry class Null safety

The state the calculator's in while entering digits.

Inheritance

Constructors

DigitEntry(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
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.
@protected, @protected, read / write, inherited

Methods

buttonDown(Operation key) → void
override
buttonUp(Operation key) → void
inherited
changeState<T extends ControllerState>(T v) → T
@protected, inherited
getCalculation(Operation o) → (void Function?(Model<Operation>)?)
@protected, inherited
gosubEntryDone(GosubArgInputState from, int 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
handleNumberKey(int num) → void
override
handleOnOff() → void
override
handlePR() → void
override
handlePSE() → void
inherited
handleRunStop() → void
override
handleShift(ShiftKey sk) → void
override
handleShow(IntegerDisplayMode mode) → 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(OperationArg arg, int argValue) → void
Process an Operation that takes an OperationArg, once the argument value is available.
override
onChangedTo() → void
Called by the controller when this state is changed to
inherited
takeOverFrom(DigitEntry? other) → void
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