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
- currentShowingX ← String
-
write-only
- currentWithoutWindow → String
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- ignoreUpdates → bool
-
read-only
-
model
→ Model<
ProgramOperation> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- window ↔ int
-
read / write
Methods
-
addListener(
void f(LcdContents)) → void -
displayX(
{bool flash = true, bool delayed = false, bool disableWindow = false, int? setWindow}) → 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, BlinkMode blink = BlinkMode.none, bool disableWindow = false, bool neverReformat = false}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited