SetColor16 class final
Sets either the foreground or background color to one of 16 colors.
Constructors
- SetColor16(int color)
-
Creates a set color command.
const
Properties
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.