colorful_print 0.0.1 copy "colorful_print: ^0.0.1" to clipboard
colorful_print: ^0.0.1 copied to clipboard

outdated

Print colored message on the terminal.

colorful_print #

A new Flutter package colorful_print develop by R-Dap,this package can print colored message on the terminal at the place you want to print conspicuously, to avoid looking at a bunch of dense output and still can't find the output you want.

Showcase #

|

Getting Started #

In your flutter project add the dependency:

pub package

dependencies:
  colorful_print: any

Useage #

  • import 'package:colorful_print/colorful_print.dart';

colors #

Text Colors Background Colors
black black
red red
green green
yellow yellow
blue blue
cyan cyan
black black
white purple
orange XX

Example #

Colorful Text

void main(){
	...
	Print.log(123, color: TextColor.black);
    Print.log(123, color: TextColor.red);
    Print.log(123, color: TextColor.green);
    Print.log(123, color: TextColor.yellow);
    Print.log(123, color: TextColor.blue);
    Print.log(123, color: TextColor.cyan);
    Print.log(123, color: TextColor.white);
    Print.log(123, color: TextColor.orange);
    ...
}

Colorful Text with Background Color

void main(){
    ...
	Print.log(123, color: TextColor.black, backgroundColor: BackGroundColor.purple);
    Print.log(123, color: TextColor.red, backgroundColor: BackGroundColor.white);
    Print.log(123, color: TextColor.green, backgroundColor: BackGroundColor.cyan);
    Print.log(123, color: TextColor.yellow, backgroundColor: BackGroundColor.blue);
    Print.log(123, color: TextColor.blue, backgroundColor: BackGroundColor.yellow);
    Print.log(123, color: TextColor.cyan, backgroundColor: BackGroundColor.green);
    Print.log(123, color: TextColor.white, backgroundColor: BackGroundColor.red);
    Print.log(123, color: TextColor.orange, backgroundColor: BackGroundColor.black);
    ...
}

# colorful_print

4
likes
0
pub points
70%
popularity

Publisher

verified publisherr-dap.com

Print colored message on the terminal.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on colorful_print