custom_alert_popup 1.0.3
custom_alert_popup: ^1.0.3 copied to clipboard
A versatile Flutter alert dialog with images, videos, animations, countdown timer, and Loading state for buttons etc.
We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: custom_alert_popup, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: custom_alert_popup.
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.
0/10 points: 20% or more of the public API has dartdoc comments
5 out of 37 API elements (13.5 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: custom_alert_popup, custom_alert_popup.CustomAlertPopup.animationDuration, custom_alert_popup.CustomAlertPopup.animationType, custom_alert_popup.CustomAlertPopup.buttonRadius, custom_alert_popup.CustomAlertPopup.buttonSpacing.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:custom_alert_popup/custom_alert_popup.dartthat imports:package:custom_alert_popup/src/popup_video.dartthat imports:package:video_player/video_player.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:custom_alert_popup/custom_alert_popup.dartthat imports:package:custom_alert_popup/src/popup_video.dartthat imports:package:video_player/video_player.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package not compatible with platform Web
Because:
package:custom_alert_popup/custom_alert_popup.dartthat imports:package:custom_alert_popup/src/popup_video.dartthat imports:package:video_player/video_player.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:custom_alert_popup/custom_alert_popup.dartthat imports:package:custom_alert_popup/src/popup_video.dartthat imports:package:video_player/video_player.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/custom_alert_popup.dart:199:61
╷
199 │ shadowColor: const Color.fromARGB(255, 238, 238, 238).withOpacity(0.4),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/custom_alert_popup.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/custom_alert_popup.dart:293:59
╷
293 │ : Colors.grey.withOpacity(.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/custom_alert_popup.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_animate |
^4.5.0 |
4.5.2 | 4.5.2 | |
flutter_hooks |
^0.20.5 |
0.20.5 | 0.21.3+1 | |
flutter_timer_countdown |
^1.0.7 |
1.0.7 | 1.0.7 | |
video_player |
^2.9.1 |
2.10.0 | 2.10.0 | |
video_player_win |
^2.3.11 |
2.3.11 | 3.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
flutter_shaders |
- | 0.1.3 | 0.1.3 | |
html |
- | 0.15.6 | 0.15.6 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
video_player_android |
- | 2.8.17 | 2.8.17 | |
video_player_avfoundation |
- | 2.8.5 | 2.8.5 | |
video_player_platform_interface |
- | 6.6.0 | 6.6.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.20.5` on flutter_hooks does not support the stable version `0.21.0`.
Try running dart pub upgrade --major-versions flutter_hooks to update the constraint.
The constraint `^2.3.11` on video_player_win does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions video_player_win 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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.