AnsiColors class

ANSI color codes for terminal output

Constructors

AnsiColors()

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 Methods

getColorForLevel(String level) → String
Get color for log level
stripAnsiCodes(String text) → String
Strip ANSI codes from text

Constants

blue → const String
cyan → const String
grey → const String
red → const String
reset → const String
yellow → const String