ConsoleUtils class abstract

Static helpers for console output: border lines and ANSI color mapping.

Constructors

ConsoleUtils()

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

ansiColors → Map<LogLevel, AnsiPen>
Default ANSI colors per LogLevel.
final
fallbackPen → AnsiPen
Default gray pen used as a fallback when no specific color is configured.
final

Static Methods

bottomLine(int length, {String lineSymbol = '─', bool withCorner = false}) → String
Generates a bottom border line of length repeated lineSymbols.