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

Plugin for error catching which provides multiple handlers for dealing with errors when they are not caught by the developer.

584
likes
130/ 160
pub points
94%
popularity

We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

157 out of 361 API elements (43.5 %) have documentation comments.

Some symbols that are missing documentation: application_profile, application_profile_manager, application_profile_manager.ApplicationProfileManager, application_profile_manager.ApplicationProfileManager.ApplicationProfileManager, base_email_handler.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:catcher/catcher.dart that imports:
  • package:catcher/core/catcher_screenshot.dart that imports:
  • package:catcher/core/catcher.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:catcher/catcher.dart that imports:
  • package:catcher/core/catcher_screenshot.dart that imports:
  • package:catcher/core/catcher.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:catcher/catcher.dart that imports:
  • package:catcher/handlers/toast_handler.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:catcher/catcher.dart that imports:
  • package:catcher/handlers/toast_handler.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:catcher/catcher.dart that imports:
  • package:catcher/handlers/toast_handler.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:catcher/catcher.dart that imports:
  • package:catcher/handlers/email_manual_handler.dart that imports:
  • package:flutter_mailer/flutter_mailer.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

WARNING: This 'onError' handler must return a value assignable to 'bool', but ends without returning a value.

lib/core/catcher.dart:647:44

    ╷
647 │         .catchError((dynamic handlerError) {
    │                                            ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/catcher.dart

INFO: 'describeEnum' is deprecated and shouldn't be used. Use the `name` getter on enums instead. This feature was deprecated after v3.14.0-2.0.pre.

lib/core/catcher.dart:409:9

    ╷
409 │         describeEnum(ApplicationProfileManager.getApplicationProfile());
    │         ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/catcher.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
device_info_plus ^7.0.0 7.0.1 10.1.0
device_info_plus_platform_interface ^6.0.0 6.0.1 7.0.0
dio ^4.0.1 4.0.6 5.4.3+1
flutter flutter 0.0.0 0.0.0
flutter_mailer ^2.0.0 2.1.2 2.1.2
flutter_web_plugins flutter 0.0.0 0.0.0
fluttertoast ^8.0.8 8.2.6 8.2.6
logging ^1.0.2 1.2.0 1.2.0
mailer ^5.0.2 5.3.0 6.1.0
package_info_plus ^3.0.0 3.1.2 8.0.0
sentry ^6.1.0 6.22.0 8.2.0
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
intl - 0.17.0 0.19.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
mime - 1.0.5 1.0.5
package_info_plus_platform_interface - 2.0.1 3.0.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 3.1.4 5.5.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 6 issues. Showing the first 2:

The constraint `^7.0.0` on device_info_plus does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

The constraint `^6.0.0` on device_info_plus_platform_interface does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions device_info_plus_platform_interface to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.5, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.

584
likes
130
pub points
94%
popularity

Publisher

unverified uploader

Plugin for error catching which provides multiple handlers for dealing with errors when they are not caught by the developer.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

device_info_plus, device_info_plus_platform_interface, dio, flutter, flutter_mailer, flutter_web_plugins, fluttertoast, logging, mailer, package_info_plus, sentry, universal_io

More

Packages that depend on catcher