Operations class Null safety

The calculator operations. This is split into its own library so that it's encapsulated from the controller internals. This class is just a collecting place for the static final Operation constants, and some lists of operations that are useful.

See the controller.operations library-level documentation for an overview of the different Operation types.

Constructors

Operations()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

a NumberEntry
final
abs NormalOperation
final
and NormalOperation
final
argIops Set<Operation>
Abbreviated key sequences for I used as an argument - cf. manual p. 68
final
argParenIops Set<Operation>
Abbreviated key sequences for (i) used as an argument - cf. manual p. 68
final
asr NormalOperation
final
b NumberEntry
final
bin NormalOperation
final
bQuestion NormalOperation
final
bsp LimitedOperation
final
bst LimitedOperation
final
c NumberEntry
final
cb NormalOperation
final
cf NormalArgOperation
final
chs NormalOperation
final
clearPrefix LimitedOperation
final
clearPrgm LimitedOperation
final
clearReg NormalOperation
final
clx NormalOperation
final
d NumberEntry
final
dblDiv NormalOperation
final
dblr NormalOperation
final
dblx NormalOperation
final
dec NormalOperation
final
div NormalOperation
final
dot LimitedOperation
final
dsz BranchingOperation
final
e NumberEntry
final
eex NormalOperation
final
enter NormalOperation
final
f NumberEntry
final
floatKey NormalArgOperation
final
fQuestion BranchingArgOperation
final
fShift LimitedOperation
final
gsb NormalArgOperation
final
gShift LimitedOperation
final
gto NormalArgOperation
final
hex NormalOperation
final
I NormalOperation
final
isz BranchingOperation
final
keys List<List<Key<Operation>?>>
The list of "logical" keys. This has nothing to do with the UI; The order of the operations in this list determines the externalized form of the operations in the calculator's storage (the opcodes). It also determines the displayed appearance of operation in program mode, whether the calculator is in portrait or landscape orientation. [...]
final
lbl NormalArgOperation
final
lj NormalOperation
final
lstx NormalOperation
final
maskl NormalOperation
final
maskr NormalOperation
final
mem LimitedOperation
final
minus NormalOperation
final
mult NormalOperation
final
n0 NumberEntry
final
n1 NumberEntry
final
n2 NumberEntry
final
n3 NumberEntry
final
n4 NumberEntry
final
n5 NumberEntry
final
n6 NumberEntry
final
n7 NumberEntry
final
n8 NumberEntry
final
n9 NumberEntry
final
not NormalOperation
final
numbers List<NumberEntry>
The numbers. This must be in order.
final
oct NormalOperation
final
onesCompl NormalOperation
final
onOff LimitedOperation
final
or NormalOperation
final
parenI NormalOperation
final
plus NormalOperation
final
poundB NormalOperation
final
pr LimitedOperation
final
pse NormalOperation
final
rcl NormalArgOperation
final
rDown NormalOperation
final
reciprocal NormalOperation
final
rl NormalOperation
final
rlc NormalOperation
final
rlcn NormalOperation
final
rln NormalOperation
final
rmd NormalOperation
final
rr NormalOperation
final
rrc NormalOperation
final
rrcn NormalOperation
final
rrn NormalOperation
final
rs NormalOperation
final
rtn NormalOperation
final
rUp NormalOperation
final
sb NormalOperation
final
sf NormalArgOperation
final
shortcuts Map<NormalOperation, ProgramInstruction<ProgramOperation>>
Map from operation that is a short cut to what it's a shortcut for, with the key as an argument
final
showBin NormalOperation
final
showDec NormalOperation
final
showHex NormalOperation
final
showOct NormalOperation
final
sl NormalOperation
final
special List<Operation>
Operations that can't be stored in memory
final
sqrtOp NormalOperation
final
sr NormalOperation
final
sst LimitedOperation
final
status LimitedOperation
final
sto NormalArgOperation
final
twosCompl NormalOperation
final
unsign NormalOperation
final
window NormalArgOperation
final
windowLeft NormalOperation
final
windowRight NormalOperation
Shown as blue "<" on the keyboard - it shifts the number left, which means the window shifts right.
final
wSize NormalOperation
final
xEQ0 BranchingOperation
final
xEQy BranchingOperation
final
xGT0 BranchingOperation
final
xGTy BranchingOperation
final
xLEy BranchingOperation
final
xLT0 BranchingOperation
final
xNE0 BranchingOperation
final
xNEy BranchingOperation
final
xor NormalOperation
final
xSwapI NormalOperation
final
xSwapParenI NormalOperation
final
xy NormalOperation
final