Skip to content
This repository has been archived by the owner on Feb 16, 2025. It is now read-only.
/ terminal-decorate Public archive

Terminal colorization and text style decoration for Dart.

License

Notifications You must be signed in to change notification settings

aprosail/terminal-decorate

Repository files navigation

Terminal Decorate

Terminal colorization and text style decoration for Dart: This package is an encapsulation of the terminal escape code, refer to the standard: ANSI X3.64, ECMA-48, or ISO 6429. Thanks to Dart's extension mechanism, you can use it like this:

// Font style decoration.
print('normal ${'italic ${'bold'.bold} italic'.italic} normal');

// Font color decoration.
print('normal ${'red ${'yellow'.yellow} red'.red} normal');