0 purchases
advanced console
Advanced console features for Dart.
With version 0.0.1, only ANSI text styling is supported.
Features #
SGR parameters (like: bold, italic, etc.),
3-bit and 4-bit colors (With ConsoleColor),
8-bit colors (With ConsoleColor256),
24-bit rgb colors (With ConsoleColorRGB),
Getting started #
TODO: List prerequisites and provide or point to information on how to
start using the package.
Usage #
Use the style function to apply styles to text:
print(style("Hello World", ConsoleTextStyle(color: ConsoleColor.yellow, bold: true)));
copied to clipboard
Or use one of the many shortcuts:
print(red("I have a sunburn"));
print(bold("I'm fat"));
print(italic("I might tip over"));
copied to clipboard
Additional information #
This package is work in progress, but you are welcome to leave your feedback!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.