IntegerDisplayMode class Null safety

Inheritance

Properties

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

Methods

addCommas(String s, bool intToo) String
override
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
leastSignificantDigit(double value) int
Gives the least significant digit when value is displayed, where the units digit is 0, and negative is to the right of the decimal. For example, for FIX-3, gives -3 (10^-3 is 0.001), unless the value is such that scientific notation would be used.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
round(Value x) Value
override
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
setComplexMode(Model<ProgramOperation> m, bool v) → void
override
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