ansi 0.3.2 copy "ansi: ^0.3.2" to clipboard
ansi: ^0.3.2 copied to clipboard

Terminal string styling done right with a number of builtin style functions.

example/ansi_example.dart

import 'package:ansi/ansi.dart';

void main() {
  /// Use style method directly
  print(blue('Hello world!'));

  /// Combine styled and normal strings
  print(bgWhite('${blue('Hello')} World${red('!')}'));

  /// Combine styled and normal strings
  print(bgWhite('${blue('Hello')} World${red('!')}'));

  /// Use extension method on String
  print('extension method on String'.cyan());
}
2
likes
0
pub points
60%
popularity

Publisher

unverified uploader

Terminal string styling done right with a number of builtin style functions.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansi_codes

More

Packages that depend on ansi