apn_actions 2.0.0
apn_actions: ^2.0.0 copied to clipboard
State management tools with actions
We analyzed this package 5 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/appnormal/apn_actions
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
15 out of 121 API elements (12.4 %) 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: apn_actions
, apn_actions.CancelToken
, apn_actions.CancelToken.CancelToken.new
, apn_actions.CancelToken.cancel
, apn_actions.CancelToken.isCancelled
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:apn_actions/apn_actions.dart
that imports:package:apn_actions/src/hooks/use_listen_to_error.dart
that imports:package:apn_toaster/apn_toaster.dart
that imports:package:apn_toaster/use_toast.dart
that imports:package:apn_toaster/toaster.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:apn_actions/apn_actions.dart
that imports:package:apn_actions/src/hooks/use_listen_to_error.dart
that imports:package:apn_toaster/apn_toaster.dart
that imports:package:apn_toaster/use_toast.dart
that imports:package:apn_toaster/toaster.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:apn_actions/apn_actions.dart
that imports:package:apn_actions/src/hooks/use_listen_to_error.dart
that imports:package:apn_toaster/apn_toaster.dart
that imports:package:apn_toaster/use_toast.dart
that imports:package:apn_toaster/toaster.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:apn_actions/apn_actions.dart
that imports:package:apn_actions/src/hooks/use_listen_to_error.dart
that imports:package:apn_toaster/apn_toaster.dart
that imports:package:apn_toaster/use_toast.dart
that imports:package:apn_toaster/toaster.dart
that imports:package:flutter_vibrate/flutter_vibrate.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:apn_actions/apn_actions.dart
that imports:package:apn_actions/src/widgets/paginated_list.dart
that imports:package:apn_actions/src/widgets/pull_to_refresh.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
/tmp/pana_RHTHOJ/lib/src/action.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_RHTHOJ/lib/src/data_state.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
apn_toaster |
^1.0.0 |
1.0.2 | 2.0.0 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
flutter_hooks |
^0.20.3 |
0.20.5 | 0.21.2 | |
flutter_riverpod |
^2.3.4 |
2.6.1 | 2.6.1 | |
hooks_riverpod |
^2.3.4 |
2.6.1 | 2.6.1 | |
meta |
^1.8.0 |
1.16.0 | 1.16.0 | |
riverpod |
^2.3.4 |
2.6.1 | 2.6.1 | |
tappable_overlay |
^1.0.0 |
1.0.1 | 1.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_vibrate |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
path |
- | 1.9.1 | 1.9.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
vector_math |
- | 2.1.4 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` on apn_toaster does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions apn_toaster
to update the constraint.
The constraint `^0.20.3` 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.
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.