catcher 0.1.8 copy "catcher: ^0.1.8" to clipboard
catcher: ^0.1.8 copied to clipboard

outdated

Plugin for error catching. Allows handling errors when they're not catched by developer. Plugin provides multiple handlers for errors.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add catcher

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

dependencies:
  catcher: ^0.1.8

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:catcher/catcher_plugin.dart';
import 'package:catcher/core/application_profile_manager.dart';
import 'package:catcher/core/catcher.dart';
import 'package:catcher/handlers/console_handler.dart';
import 'package:catcher/handlers/email_auto_handler.dart';
import 'package:catcher/handlers/email_manual_handler.dart';
import 'package:catcher/handlers/file_handler.dart';
import 'package:catcher/handlers/http_handler.dart';
import 'package:catcher/handlers/report_handler.dart';
import 'package:catcher/handlers/toast_handler.dart';
import 'package:catcher/model/application_profile.dart';
import 'package:catcher/model/catcher_options.dart';
import 'package:catcher/model/http_request_type.dart';
import 'package:catcher/model/localization_options.dart';
import 'package:catcher/model/report.dart';
import 'package:catcher/model/report_mode.dart';
import 'package:catcher/model/report_mode_type.dart';
import 'package:catcher/model/toast_handler_gravity.dart';
import 'package:catcher/model/toast_handler_length.dart';
import 'package:catcher/mode/dialog_report_mode.dart';
import 'package:catcher/mode/notification_report_mode.dart';
import 'package:catcher/mode/page_report_mode.dart';
import 'package:catcher/mode/report_mode_action_confirmed.dart';
import 'package:catcher/mode/silent_report_mode.dart';
import 'package:catcher/utils/catcher_error_widget.dart';
592
likes
0
pub points
94%
popularity

Publisher

verified publisherhasoft.pl

Plugin for error catching. Allows handling errors when they're not catched by developer. Plugin provides multiple handlers for errors.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info, dio, flutter, flutter_local_notifications, flutter_mailer, fluttertoast, logging, mailer, package_info

More

Packages that depend on catcher