chalk 1.1.5 chalk: ^1.1.5 copied to clipboard
Chalk helps to style your terminal strings
import 'package:chalk/chalk.dart';
void main() {
var ch = Chalk();
print('/n');
// Specify font face by using [ftFace] property
print(ch.blue('blue text', ftFace: ChalkFtFace.italic));
print(ch.red('red Text', ftFace: ChalkFtFace.bold));
// Chain styles
print(ch.faint('faint text').blue());
print(ch.cyan('cyan').bold());
// Not widely supported
print(ch.yellow('yellow').underLine());
print(ch.yellow('yellow').strikeThrough());
print(ch.bold('Hai').magenta());
// Combine styled and normal strings
print('chain text'.green() + ' Normal Text ' + 'chain text2'.red());
print('\n');
}