Text styles. Every helper returns text unchanged when enabled is false,
so callers never need to check whether color is on.
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
-
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 Properties
Static Methods
-
accent(
String text) → String - Lea's brand color, used for the spinner, the selection and highlights.
-
bold(
String text) → String -
code(
String text) → String - Inline code and code blocks.
-
dim(
String text) → String -
gray(
String text) → String -
green(
String text) → String -
inverse(
String text) → String -
italic(
String text) → String -
red(
String text) → String -
strikethrough(
String text) → String -
strip(
String text) → String -
Removes every escape sequence from
text. -
underline(
String text) → String -
yellow(
String text) → String