cooler_alerts 2.1.1 copy "cooler_alerts: ^2.1.1" to clipboard
cooler_alerts: ^2.1.1 copied to clipboard

A Flutter package to display animated alert dialogs, replacement for cool_alert.

135/ 160
pub points
88
downloads

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

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/cybex-dev/cooler_alert.git was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/cybex-dev/cooler_alert/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("2.1.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

3 out of 8 API elements (37.5 %) have documentation comments.

Some symbols that are missing documentation: cooler_alerts, cooler_alerts.CoolAlertAnimType, cooler_alerts.CoolAlertType, cooler_alerts.CoolerAlerts.CoolerAlerts.new, cooler_alerts.CoolerAlerts.show.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cooler_alerts/cooler_alerts.dart that imports:
  • package:cooler_alerts/src/widgets/cool_alert_container.dart that imports:
  • package:lottie/lottie.dart that imports:
  • package:lottie/src/providers/network_provider.dart that imports:
  • package:lottie/src/providers/provider_io.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.

lib/cooler_alerts.dart:114:70

    ╷
114 │     /// Triggered when the dialog is popped, a wrapper for [PopScope.onPopInvoked].
    │                                                                      ^^^^^^^^^^^^
    ╵

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

INFO: Don't use 'BuildContext's across async gaps.

lib/cooler_alerts.dart:123:22

    ╷
123 │         Navigator.of(context, rootNavigator: true).pop();
    │                      ^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
flare_flutter ^3.0.2 3.0.2 3.0.2
lottie ^2.2.0 2.7.0 3.3.2
vector_math ^2.1.4 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0

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

The constraint `^2.2.0` on lottie does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
135
points
88
downloads

Publisher

verified publisherearthbase.io

Weekly Downloads

A Flutter package to display animated alert dialogs, replacement for cool_alert.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #alert #dialog #notifications #popup

Documentation

API reference

License

MIT (license)

Dependencies

flare_flutter, flutter, lottie, vector_math

More

Packages that depend on cooler_alerts