Color class

Constructors

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

Properties

bright bool
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xterm bool
final

Methods

makeCurrent({bool background = false}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
BLUE → const Color
CYAN → const Color
DARK_BLUE → const Color
DARK_RED → const Color
GOLD → const Color
GRAY → const Color
GREEN → const Color
LIGHT_CYAN → const Color
LIGHT_GRAY → const Color
LIGHT_MAGENTA → const Color
LIME → const Color
MAGENTA → const Color
RED → const Color
WHITE → const Color
YELLOW → const Color