catcher 0.7.0 icon indicating copy to clipboard operation
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.

505
likes
120/ 140
pub points
96%
popularity

We analyzed this package in the last hour, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 164 out of 401 API elements (40.9 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

INFO: 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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
device_info_plus^7.0.07.0.18.0.0
device_info_plus_platform_interface^6.0.06.0.17.0.0
dio^4.0.14.0.64.0.6
flutterflutter0.0.00.0.0
flutter_mailer^2.0.02.0.22.0.2
flutter_web_pluginsflutter0.0.00.0.0
fluttertoast^8.0.88.1.28.1.2
logging^1.0.21.1.11.1.1
mailer^5.0.25.3.06.0.0
package_info_plus^3.0.03.0.23.0.2
sentry^6.1.06.19.06.19.0
universal_io^2.0.42.0.42.0.4
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.10.02.10.0
characters-1.2.11.2.1
clock-1.1.11.1.1
collection-1.17.01.17.1
crypto-3.0.23.0.2
ffi-2.0.12.0.1
file-6.1.46.1.4
http-0.13.50.13.5
http_parser-4.0.24.0.2
intl-0.17.00.18.0
js-0.6.50.6.7
material_color_utilities-0.2.00.2.0
meta-1.8.01.8.0
mime-1.0.41.0.4
package_info_plus_platform_interface-2.0.12.0.1
path-1.8.31.8.3
pedantic-1.11.11.11.1
plugin_platform_interface-2.1.32.1.3
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
stack_trace-1.11.01.11.0
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
uuid-3.0.73.0.7
vector_math-2.1.42.1.4
win32-3.1.34.1.0

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

Found 3 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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Flutter 3.7.0, Dart 2.19.0.

505
likes
120
pub points
96%
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)

Documentation

API reference

License

Icon for licenses.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