FloatKeyArg class Null safety

The description of an argument for the float mode key. It's special because stack lift is enabled when going from int mode to float mode, but it's stack neutral if staying in float mode.

Inheritance

Constructors

FloatKeyArg(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 arg) → void
override
toString() String
A string representation of this object. [...]
inherited

Operators

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