cool_alert 1.1.0 copy "cool_alert: ^1.1.0" to clipboard
cool_alert: ^1.1.0 copied to clipboard

outdated

A Flutter package to display animated alert dialogs such as success, error, warning, confirm or even a loading dialog.

376
likes
80/ 160
pub points
97%
popularity

We analyzed this package 25 hours ago, and awarded it 80 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

3 out of 7 API elements (42.9 %) have documentation comments.

Some symbols that are missing documentation: cool_alert, cool_alert.CoolAlert.show, cool_alert.CoolAlertAnimType, cool_alert.CoolAlertType.

10/10 points: Package has an example

failed
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

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The getter 'headline6' isn't defined for the type 'TextTheme'.

lib/src/widgets/cool_alert_container.dart:134:46

    ╷
134 │           style: Theme.of(context).textTheme.headline6,
    │                                              ^^^^^^^^^
    ╵

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

INFO: The import of 'package:flare_flutter/base/animation/actor_animation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flare_flutter/flare.dart'.

lib/src/utils/single_loop_controller.dart:1:8

  ╷
1 │ import 'package:flare_flutter/base/animation/actor_animation.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
flare_flutter ^3.0.0 3.0.2 3.0.2
flutter flutter 0.0.0 0.0.0
lottie ^1.0.1 1.4.3 3.1.2
vector_math ^2.0.8 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
crypto - 3.0.5 3.0.5
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
typed_data - 1.3.2 1.3.2

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

The constraint `^1.0.1` on lottie does not support the stable version `2.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_GETTER - lib/src/widgets/cool_alert_container.dart:134:46 - The getter 'headline6' isn't defined for the type 'TextTheme'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.

376
likes
80
pub points
97%
popularity

Publisher

unverified uploader

A Flutter package to display animated alert dialogs such as success, error, warning, confirm or even a loading dialog.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flare_flutter, flutter, lottie, vector_math

More

Packages that depend on cool_alert