rich_console 0.11.1 copy "rich_console: ^0.11.1" to clipboard
rich_console: ^0.11.1 copied to clipboard

A natural way of printing text styles and colors in flutter.

A natural way of printing text styles and colors in flutter.

pub package

This packages contains a set of configurations that make it easy to differentiate console outputs and print all sort of colors. It's multi-IDE compatible as it is based on basic ansi text configurations.

This main underlying package is colorize.

Usage #

import 'package:rich_console/printRich.dart';

void main(){
  
  printRich("This is my String", fg: Shade.BLUE, italic: true);
  
}

Functions #

  • printRich()

  • printError()

  • printWarning()

Settable Parameters #

  • Shade fg (foreground color)
  • Shade bg (background color)
  • bool bold
  • bool dark
  • bool italic
  • bool underline
  • bool blink
  • bool reverse
  • bool concealed

Contribution #

Feel free to make pull requests. Any additional style is appreciated.

6
likes
120
pub points
76%
popularity

Publisher

unverified uploader

A natural way of printing text styles and colors in flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

colorize, flutter

More

Packages that depend on rich_console