bug_capsule 0.4.1-beta.1
bug_capsule: ^0.4.1-beta.1 copied to clipboard
BugCapsule for Flutter — records the context around a failure into a portable .bugcapsule capsule, replays it locally, and ships every integration (BLoC, Riverpod, Provider, GetX, MobX, Dio, http, GoR [...]
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate bug_capsuleUse it
The package has the following executables:
$ bugcapsule
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bug_capsuleWith Flutter:
$ flutter pub add bug_capsuleThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bug_capsule: ^0.4.1-beta.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bug_capsule/bug_capsule.dart';