GosubOperationArg class Null safety

The description of an argument for GSB, which requires a special state for inputting the argument to preview the instruction that's about to be executed.

Inheritance

Constructors

GosubOperationArg.both(int maxArg, {required void calc(Model<ProgramOperation>, int)})

Properties

floatCalc → (void Function?(Model<ProgramOperation>, int)?)
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
intCalc → (void Function?(Model<ProgramOperation>, int)?)
final, inherited
maxArg int
final, inherited
op NormalArgOperation
final, read / write, inherited, late
pressed → (void Function?(ActiveState)?)
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

makeInputState(Controller c, LimitedState fromState) ControllerState
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onArgComplete(LimitedState state, int argValue) → void
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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