riverpod_devtools 0.5.0
riverpod_devtools: ^0.5.0 copied to clipboard
DevTools extension for Riverpod - inspect and monitor your providers in real-time.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate riverpod_devtoolsUse it
The package has the following executables:
$ analyze
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add riverpod_devtoolsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
riverpod_devtools: ^0.5.0Alternatively, 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:riverpod_devtools/riverpod_devtools.dart';