ansi property

String get ansi

Format the ansi sequences into a ready-to-output string.

Implementation

String get ansi =>
    style.apply(background.colorize(foreground.colorize(text)));