print_color 2.2.7 copy "print_color: ^2.2.7" to clipboard
print_color: ^2.2.7 copied to clipboard

discontinued
outdated

print(), in colors, Help organizing debugging making it more fun

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:print_color/print_color.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('print_color'),
        ),
        body: Center(
            child: OutlineButton(
          onPressed: () {
            Print.white('white');
            Print.black('black');
            Print.gray('gray');
            Print.cyan('cyan');
            Print.blue('blue');
            Print.green('green');
            Print.red('red');
            Print.magenta('magenta');
            Print.yellow('yellow');
          },
          child: Text('Click Me For Magic'),
        )),
      ),
    );
  }
}
28
likes
30
pub points
74%
popularity

Publisher

verified publishermsayed.net

print(), in colors, Help organizing debugging making it more fun

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

ansicolor, flutter

More

Packages that depend on print_color