ansi_escape_codes 2.0.0
ansi_escape_codes: ^2.0.0 copied to clipboard
Yet another package for ANSI escape sequences. It differs from the others only in that it focuses on using constants rather than functions or methods.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ansi_escape_codes
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ansi_escape_codes: ^2.0.0
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:ansi_escape_codes/ansi_escape_codes.dart';