Settings class Null safety

User settings that control the calculator's appearance or behavior


Settings(Model<ProgramOperation> _model)


euroComma bool
Should we show numbers Euro-style, with commas instead of periods and vice-versa?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hideComplement bool
Should we hide the complement annunciator?
read / write
msPerInstruction double
How long do we want an instruction to take when running a program? Note that number keys run about 5x faster than this.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showAccelerators Observable<bool>
showWordSize bool
Should we show the word size annunciator on the display?
read / write
traceProgramToStdout bool
When running a program, should a program trace be sent to stdout? This can only be set by importing a JSON file, on the theory that people who can get at stdout are also comfortable hacking a JSON file, and trying to explain "stdout" in a settings menu is hard.
windowEnabled bool
Should the window functions be enabled? If not, we just shrink the digits when a number is too big.
read / write


decodeJson(Map<String, dynamic> json) → void
Convert from a data structure that comes from JSON. If there's an error in the middle, it might be partially read, but not in a way that causes bad behavior in the calculator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson({bool comments = false}) Map<String, dynamic>
Convert to a data structure that can be serialized as JSON.
toString() String
A string representation of this object. [...]


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