formats top-level constant
AsciiFormats
const formats
Every text style, ready to drop into a string.
print('${formats.bold}loud${formats.resetBoldAndDim} quiet$reset');
Also reachable as Ascii.format, and as the SCREAMING_CASE constants at
the bottom of this file if you would rather not go through an object.
Terminal support varies. Bold, dim, italic, underline, inverse and strikethrough are safe nearly everywhere; the fonts, the ideogram marks and the frame/encircle group are honoured by almost nothing.
Implementation
const AsciiFormats formats = AsciiFormats();