AnsiColor class
This class handles colorizing of terminal output.
Constructors
- AnsiColor.bg(int? bg)
- AnsiColor.fg(int? fg)
- AnsiColor.none()
Properties
- bg → int?
-
final
- color → bool
-
final
- fg → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resetBackground → String
-
Defaults the terminal's background color without altering the foreground.
no setter
- resetForeground → String
-
Defaults the terminal's foreground color without altering the background.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ansiDefault → const String
- Reset all colors and options for current SGRs to terminal defaults.
- ansiEsc → const String
- ANSI Control Sequence Introducer, signals the terminal for new settings.