SevenSegment class abstract final

Segment bits and the character → segment table.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 Methods

draws(int codeUnit) → bool
Whether codeUnit is drawn by the segment painter at all.
isPoint(int codeUnit) → bool
Whether codeUnit is drawn as the decimal point (.) or comma.
maskOfUnit(int codeUnit) → int
The segment mask of codeUnit, or 0 when it is not a segment glyph.

Constants

a → const int
Top.
all → const int
Every segment: the ghost "8".
b → const int
Upper right.
c → const int
Lower right.
d → const int
Bottom.
e → const int
Lower left.
f → const int
Upper left.
g → const int
Middle.
glyphs → const Map<String, int>
Character → lit segments. − is U+2212, the display's minus sign.
segments → const List<int>
The seven segment bits in drawing order.