/advanced_console

Primary LanguageDartMIT LicenseMIT

Pub Version Verify

Advanced console features for Dart.

With version 0.0.1, only ANSI text styling is supported.

Features

Usage

Use the style function to apply styles to text:

print(style("Hello World", ConsoleTextStyle(color: ConsoleColor.yellow, bold: true)));

Or use one of the many shortcuts:

print(red("I have a sunburn"));
print(bold("I'm fat"));
print(italic("I might tip over"));

Additional information

This package is work in progress, but you are welcome to leave your feedback!