IntegerDisplayMode class Null safety

Inheritance

Properties

commaDistance int
read-only, inherited
displayName String
How this mode is shown on the LCD display
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isFloatMode bool
read-only, inherited
radix int
Put calculator in floating-point mode, displaying digits
read-only, inherited
rightJustify bool
Are digits right-justified in this mode? If not, they'll be left-justified, like " 1.0 ".
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addCommas(String s) String
inherited
convertValuesTo(DisplayMode next, Model<ProgramOperation> model) → void
Convert values in the model when switching between float and int, and vice-versa. We're switching from this mode to next. The 16C does interesting things with x and y here.
override
format(Value v, Model<ProgramOperation> m) String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
select<R, A>(DisplayModeSelector<R, A> selector, A arg) → R
Select something based on whether we're in an int mode or a float mode.
override
setFloatOverflow(Model<ProgramOperation> m) → void
inherited
signMode(IntegerSignMode integerSignMode) SignMode
Give the calculator's effective sign mode, considering the current display mode (which might be float), and the sign mode that was last set when the calculator was in integer mode (which might be now).
override
toJson() String
inherited
toString() String
A string representation of this object. [...]
inherited
tryParse(String s, NumStatus m) Value?
override

Operators

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