AnsiEscape class

Constructors

AnsiEscape({int? backgroundColor, int? foregroundColor, bool italic = false})
const

Properties

backgroundColor int?
final
foregroundColor int?
final
hasColor bool
no setter
hashCode int
The hash code for this object.
no setterinherited
italic bool
final
resetBackground String
Defaults the background color
no setter
resetForeground String
Defaults the foreground color
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(String msg) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Colors and styles are taken from: https://en.wikipedia.org/wiki/ANSI_escape_code
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ansiDefault → const String
Reset to terminal defaults.
ansiEsc → const String
Control Sequence Introducer