Colorize class
Colorize class that wraps text with defined values.
Constructors
Properties
- background ↔ AnsiColor?
-
Colorize will apply background color of style if provided
getter/setter pair
- bright ↔ AnsiColor?
-
Colorize will apply bright style if provided
getter/setter pair
- foreground ↔ AnsiColor?
-
Colorize will apply foreground color of style if provided
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- reverse ↔ bool
-
Colorize will apply reverse style if provided
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- underline ↔ bool
-
Colorize will apply underline style if provided
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wrap(
String text, {AnsiColor? foreground, AnsiColor? background, AnsiColor? bright, bool? reverse, bool? underline}) → String - Wraps text into the defined styles with option to override a style.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited