chalkdart 2.0.1 chalkdart: ^2.0.1 copied to clipboard
Console text coloring and styling library for Dart. 'Terminal string styling done right'
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add chalkdart
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
chalkdart: ^2.0.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:chalkdart/chalk.dart';
import 'package:chalkdart/chalk_x11.dart';
import 'package:chalkdart/colorutils.dart';