CharacterSegmentMap class Null safety

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

CharacterSegmentMap()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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

Constants

dividerCharacters → const Map<String, String>
Special (dividers) characters.
<String, String>{'decimalPoint' : '.', 'colon' : ':'}
fourteen → const Map<String, int>
Characters that can be displayed on 14-segment display.
<String, int>{' ' : 0x0000, '0' : 0x3F0C, '1' : 0x1808, '2' : 0x36C0, '3' : 0x3C40, '4' : 0x19C0, '5' : 0x2581, '6' : 0x2FC0, '…
seven → const Map<String, int>
Characters that can be displayed on 7-segment display.
<String, int>{' ' : 0x00, '0' : 0x7E, '1' : 0x30, '2' : 0x6D, '3' : 0x79, '4' : 0x33, '5' : 0x5B, '6' : 0x5F, '7' : 0x70, …
sixteen → const Map<String, int>
Characters that can be displayed on 16-segment display.
<String, int>{' ' : 0x0000, '0' : 0xFF0C, '1' : 0x3008, '2' : 0xEEC0, '3' : 0xFC40, '4' : 0x31C0, '5' : 0xCD81, '6' : 0xDFC0, '…