Running class Null safety

State while we're running a program. While we're in this state, our Controller stays in Running, but we create a RunningController that has its own ControllerState.

Inheritance

Constructors

Running(RealController c, ProgramRunner _runner)
Running.singleStep(RunningController _fake, ProgramRunner _runner, void _singleStepOnDone(CalculatorError?)?)

Properties

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

Methods

abort() → void
override
buttonDown(Operation key) → void
override
buttonUp(Operation key) → void
override
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
restarting(void singleStepOnDone(CalculatorError?)?) → void
runProgramLoop({Set<int> acceptableErrors = const <int>{}}) Future<void>
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