Color class Null safety

Constructors

Color(int id, {bool xterm = false, bool bright = false})
const

Properties

bright bool
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
xterm bool
final

Methods

makeCurrent({bool background = false}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString({bool background = false}) String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

getColors() Map<String, Color>

Constants

BLACK → const Color
Color(0)
BLUE → const Color
Color(4, bright: true)
CYAN → const Color
Color(6)
DARK_BLUE → const Color
Color(4)
DARK_RED → const Color
Color(1)
GOLD → const Color
Color(3)
GRAY → const Color
Color(0, bright: true)
GREEN → const Color
Color(2)
LIGHT_CYAN → const Color
Color(6, bright: true)
LIGHT_GRAY → const Color
Color(7)
LIGHT_MAGENTA → const Color
Color(5, bright: true)
LIME → const Color
Color(2, bright: true)
MAGENTA → const Color
Color(5)
RED → const Color
Color(1, bright: true)
WHITE → const Color
Color(7, bright: true)
YELLOW → const Color
Color(3, bright: true)