debug_console 0.0.1 debug_console: ^0.0.1 copied to clipboard
A console for debugging Flutter apps. Check the console for prints and errors, while you're testing it, all within your app. Make your own logging and check the StackTraces.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add debug_console
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
debug_console: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:debug_console/debug_console.dart';