AnsiColorStyle class
this class abstracts how ansi colors are defined
if you want to know more about ansi colors: https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
- Inheritance
-
- Object
- ISelectGraphicRendition
- AnsiColorStyle
Constructors
- AnsiColorStyle({IAnsiColor color = AnsiColor.blue, AnsiColorMode mode = AnsiColorMode.foreground})
-
this class abstracts how ansi colors are defined
const
Properties
- color → IAnsiColor
-
this class abstracts how ansi colors are defined
final
- effectiveValue → String
-
real ansi-escape value of SGR
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → AnsiColorMode
-
this class abstracts how ansi colors are defined
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
every SGR must carry a display attribute
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited