AnsiColorExtension extension

Extension for Color intended for use in a context with dart:io.

on

Properties

ansiBackgroundSequence String

Available on Color, provided by the AnsiColorExtension extension

Build ANSI sequence for this colour as a background.
no setter
ansiForegroundSequence String

Available on Color, provided by the AnsiColorExtension extension

Build ANSI sequence for this colour as a foreground.
no setter

Static Properties

ansiResetBackground String

Available on Color, provided by the AnsiColorExtension extension

String to reset background.
no setter
ansiResetForeground String

Available on Color, provided by the AnsiColorExtension extension

String to reset foreground.
no setter

Static Methods

buildAnsiSequence(Color? foreground, Color? background) String

Available on Color, provided by the AnsiColorExtension extension

Combine ANSI sequences.