SetColor16 class final

Sets either the foreground or background color to one of 16 colors.

Inheritance

Constructors

SetColor16(int color)
Creates a set color command.
const

Properties

color int
The color code that signifies the layer and color to set.
final
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
toSequence() Sequence
Returns the ANSI escape sequence for this command.
override
toString() String
A string representation of this object.
override

Operators

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

Constants

resetBackground → const SetColor16
Resets the background color to the default color.
resetForeground → const SetColor16
Resets the foreground color to the default color.
resetStyle → const SetColor16
Resets both colors and all text attributes to the default.