flutter_colored_print

Creator: coderz1093

Last updated:

Add to Cart

Description:

flutter colored print

Flutter library to print objects to console with colors
Features #

colors support

Getting started #
TODO: List prerequisites and provide or point to information on how to
start using the package.
Usage #
Import package #
import 'colored_print/flutter_colored_print.dart' as c_l;
copied to clipboard
Use it to print anything #
Use log method to control type as LogType and color as LogColor
c_l.log("This is test colored log to console" ,type: LogType.info , color: LogColor.cyan);
copied to clipboard
Output
[Info] This is test colored log to console
copied to clipboard
If you set allColored to true (as default) whole message will colored
set allColored to false
c_l.log("This is test colored log to console" ,type: LogType.info , color: LogColor.blue , allColored:false);
copied to clipboard
Output
[Info] This is test colored log to console
copied to clipboard
Or use typed methods #
c_l.error("This is error");

c_l.info("This is info");

c_l.warn("This is warning");

c_l.primary("This is primary");
copied to clipboard
[Error] This is error
[Info] This is info
[Warning] This is warning
[Primary] This is primary
copied to clipboard
Colored output #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.