DisplayModel class Null safety

A logical model of what's being displayed on the LCD display. Handles flashing and blinking, and delayed display (like when clear-prefix is released).

Constructors

DisplayModel(Model<ProgramOperation> model)

Properties

current String
read / write
currentWithoutWindow String
read-only
currentWithWindow String
write-only
hashCode int
The hash code for this object. [...]
read-only, inherited
ignoreUpdates bool
read-only
model Model<ProgramOperation>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
window int
read / write

Methods

addListener(void f(LcdContents)) → void
displayX({bool flash = true, bool delayed = false, bool disableWindow = false}) → void
Display the value of X. disableWindow applies to the first display of X. If there's a delayed value, it reverts to disableWindow being false.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeListener(void f(LcdContents)) → void
show(LcdContents newContents) → void
toString() String
A string representation of this object. [...]
inherited
update({bool flash = false, bool blink = false, bool disableWindow = false}) → void

Operators

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