OutputTheme class

Color palette for themed output rendering.

Each field holds an ANSI escape code string (e.g. '\x1B[32m').

Constructors

OutputTheme({String success = '\x1B[32m', String error = '\x1B[31m', String warning = '\x1B[33m', String info = '\x1B[36m', String muted = '\x1B[90m', String highlight = '\x1B[1;37m', String code = '\x1B[35m', String path = '\x1B[34m', String number = '\x1B[33m', String reset = '\x1B[0m'})
const

Properties

code → String
final
error → String
final
hashCode → int
The hash code for this object.
no setterinherited
highlight → String
final
info → String
final
muted → String
final
number → String
final
path → String
final
reset → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → String
final
warning → String
final

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

Constants

none → const OutputTheme
A theme with no ANSI codes (plain text).