bug_handler 0.0.1-dev.2 copy "bug_handler: ^0.0.1-dev.2" to clipboard
bug_handler: ^0.0.1-dev.2 copied to clipboard

unlisted

Composable Flutter error-reporting toolkit with rich context providers, privacy sanitizers, and pluggable reporters.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add bug_handler

With Flutter:

 $ flutter pub add bug_handler

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  bug_handler: ^0.0.1-dev.2

Alternatively, 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_handler/config/config.dart';
import 'package:bug_handler/config/report_config.dart';
import 'package:bug_handler/config/severity.dart';
import 'package:bug_handler/context/built_in/app_context.dart';
import 'package:bug_handler/context/built_in/built_in.dart';
import 'package:bug_handler/context/built_in/device_context.dart';
import 'package:bug_handler/context/built_in/ui_context_provider.dart';
import 'package:bug_handler/context/context.dart';
import 'package:bug_handler/context/provider.dart';
import 'package:bug_handler/core/bug_reporter.dart';
import 'package:bug_handler/core/core.dart';
import 'package:bug_handler/core/error_handler.dart';
import 'package:bug_handler/core/report.dart';
import 'package:bug_handler/exceptions/api_exception.dart';
import 'package:bug_handler/exceptions/auth_exception.dart';
import 'package:bug_handler/exceptions/base_exception.dart';
import 'package:bug_handler/exceptions/data_exception.dart';
import 'package:bug_handler/exceptions/exceptions.dart';
import 'package:bug_handler/exceptions/flutter_error_exception.dart';
import 'package:bug_handler/exceptions/initialization_exception.dart';
import 'package:bug_handler/exceptions/navigation_exception.dart';
import 'package:bug_handler/exceptions/permission_exception.dart';
import 'package:bug_handler/exceptions/platform_exception.dart';
import 'package:bug_handler/exceptions/platform_payment_exception.dart';
import 'package:bug_handler/exceptions/storage_exception.dart';
import 'package:bug_handler/exceptions/unexpected_exception.dart';
import 'package:bug_handler/exceptions/validation_exception.dart';
import 'package:bug_handler/helpers.dart';
import 'package:bug_handler/reporters/manual_reporter.dart';
import 'package:bug_handler/reporters/reporter.dart';
import 'package:bug_handler/reporters/reporters.dart';
import 'package:bug_handler/reporters/sentry_reporter.dart';
import 'package:bug_handler/ui/error_display_widget.dart';