ColorMode enum
The colors a terminal shows, which a StyleTable brings its colors down to as it writes them.
Values
- trueColor → const ColorMode
-
24-bit RGB: every color as it is.
- ansi256 → const ColorMode
-
The 256 palette entries: an RGB color is written as the nearest of the color cube and the grays.
- ansi16 → const ColorMode
-
The 16 ANSI colors: an RGB color or a palette entry above 15 is written as the nearest of them, measured by xterm's palette.
- none → const ColorMode
-
No colors: only attributes are written.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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