ANSISGRCommand class

Terminal ANSI SGR commands

Constructors

ANSISGRCommand.backgroundColor(int color)
Traditional background color.
factory
ANSISGRCommand.backgroundColorBright(int color)
Traditional bright background color.
factory
ANSISGRCommand.backgroundColorPalette(int color)
Palette background color.
factory
ANSISGRCommand.backgroundColorRGB(int r, int g, int b)
RGB "true-color" background color.
factory
ANSISGRCommand.foregroundColor(int color)
Traditional foreground color
factory
ANSISGRCommand.foregroundColorBright(int color)
Traditional bright foreground color.
factory
ANSISGRCommand.foregroundColorPalette(int color)
Palette foreground color
factory
ANSISGRCommand.foregroundColorRGB(int r, int g, int b)
RGB "true-color" foreground color.
factory

Properties

ansi String
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
toString() String
A string representation of this object.
override

Operators

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

Constants

backgroundColorKeep → const ANSISGRCommand
Keep current background color (effective no-op).
Blink (not very fast)
bold → const ANSISGRCommand
Set Bold.
foregroundColorKeep → const ANSISGRCommand
Keep current foreground color (effective no-op).
reset → const ANSISGRCommand
Set Normal (all attributes off).
underline → const ANSISGRCommand
Underline