diff --git a/example/bin/example.dart b/example/bin/example.dart index 87d016b..aa6b727 100644 --- a/example/bin/example.dart +++ b/example/bin/example.dart @@ -4,6 +4,10 @@ import 'package:chalk/chalk.dart'; void main(List arguments) { chalk.Chalk ch = chalk.Chalk(); + print('\n'); + print('-- VS Code Output --'); + 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)); @@ -13,8 +17,8 @@ void main(List arguments) { print(ch.cyan('cyan').bold()); // Not widely supported - print(ch.yellow('yellow').underLined()); - print(ch.yellow('yellow').strikeThrough()); + print(ch.yellow('underlined(not widely supported)').underLined()); + print(ch.cyan('strikeThrough(not widely supported)').strikeThrough()); // Combine styled and normal strings print('chain text'.green() + ' Normal Text ' + 'chain text2'.red()); diff --git a/example/main.dart b/example/main.dart index 6701bf4..62eea93 100644 --- a/example/main.dart +++ b/example/main.dart @@ -2,8 +2,8 @@ import 'package:chalk/chalk.dart'; void main() { var ch = Chalk(); - 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)); diff --git a/screenshot.PNG b/screenshot.PNG index fc97b30..76b9c23 100644 Binary files a/screenshot.PNG and b/screenshot.PNG differ