print_color 3.0.3 print_color: ^3.0.3 copied to clipboard
print() in colors, simple and handy for lightweight debugging
print_color #
print(), in colors
usage #
import 'package:print_color/print_color.dart';
Print.green('someText');
Print.red('someText', name: 'Error');
example #
import 'package:print_color/print_color.dart';
// without name
Print.white('white');
Print.black('black');
Print.cyan('cyan');
Print.blue('blue');
Print.green('green');
Print.red('red');
Print.magenta('magenta');
Print.yellow('yellow');
// with name example
Print.white('white', name: 'process');
Print.black('black', name: 'crash');
Print.cyan('cyan', name: 'data');
Print.blue('blue', name: 'nagivation');
Print.green('green', name: 'success');
Print.red('red', name: 'error');
Print.magenta('magenta', name: 'request');
Print.yellow('yellow', name: 'warning');
colors #
- white
- black
- cyan
- blue
- green
- red
- magenta
- yellow