CharacterSegmentMap class
Provides mappings from character (string) to hexadecimal value (integer). Hex value represents enabled and disabled segments for given character.
Example for 7-segment display:
0
DEC = 0x7E
HEX = 1111110
BIN
which means that every segment except the middle one is enabled
Constructors
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
Constants
-
dividerCharacters
→ const Map<
String, String> - Special (dividers) characters.
-
fourteen
→ const Map<
String, int> - Characters that can be displayed on 14-segment display.
-
seven
→ const Map<
String, int> - Characters that can be displayed on 7-segment display.
-
sixteen
→ const Map<
String, int> - Characters that can be displayed on 16-segment display.