Colors class
Constructors
- Colors()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
color(
String? color, String text) → String -
color256(
int code, String text) → String -
mappedBgColor(
String colorName, String text) → String -
mappedColor(
String colorName, String text) → String -
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
Static Methods
-
isValidColor(
String? colorName) → bool
Constants
- backgroundBlack → const String
- backgroundBlue → const String
- backgroundBrightBlack → const String
- backgroundBrightBlue → const String
- backgroundBrightCyan → const String
- backgroundBrightGreen → const String
- backgroundBrightMagenta → const String
- backgroundBrightRed → const String
- backgroundBrightWhite → const String
- backgroundBrightYellow → const String
- backgroundCyan → const String
- backgroundGreen → const String
- backgroundMagenta → const String
- backgroundRed → const String
- backgroundWhite → const String
- backgroundYellow → const String
- black → const String
- blue → const String
- bold → const String
- brightBlack → const String
- brightBlue → const String
- brightCyan → const String
- brightGreen → const String
- brightMagenta → const String
- brightRed → const String
- brightWhite → const String
- brightYellow → const String
- cyan → const String
- green → const String
- magenta → const String
- red → const String
- reset → const String
- reversed → const String
- underline → const String
- white → const String
- yellow → const String