life_hooks 0.1.1
life_hooks: ^0.1.1 copied to clipboard
A small classes to use flutter_hooks easier
We analyzed this package 3 days ago, and awarded it 130 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.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
47 out of 52 API elements (90.4 %) have documentation comments.
Some symbols that are missing documentation: life_hooks
, life_hooks.ContextfulLifeState.ContextfulLifeState.new
, life_hooks.FormHelper.FormHelper.new
, life_hooks.FormHelperState.FormHelperState.new
, life_hooks.LifeState.LifeState.new
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:life_hooks/life_hooks.dart
that imports:package:life_hooks/src/widgets/widgets.dart
that imports:package:life_hooks/src/widgets/state_initializer.dart
that imports:package:life_hooks/src/hooks/hooks.dart
that imports:package:life_hooks/src/hooks/use_keyboard_visibility.dart
that imports:package:xsoulspace_ui_foundation/xsoulspace_ui_foundation.dart
that imports:package:xsoulspace_ui_foundation/src/foundation.dart
that imports:package:xsoulspace_ui_foundation/src/utils/utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils_io.dart
that imports:package:store_checker/store_checker.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:life_hooks/life_hooks.dart
that imports:package:life_hooks/src/widgets/widgets.dart
that imports:package:life_hooks/src/widgets/state_initializer.dart
that imports:package:life_hooks/src/hooks/hooks.dart
that imports:package:life_hooks/src/hooks/use_keyboard_visibility.dart
that imports:package:xsoulspace_ui_foundation/xsoulspace_ui_foundation.dart
that imports:package:xsoulspace_ui_foundation/src/foundation.dart
that imports:package:xsoulspace_ui_foundation/src/utils/utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils_io.dart
that imports:package:store_checker/store_checker.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:life_hooks/life_hooks.dart
that imports:package:life_hooks/src/widgets/widgets.dart
that imports:package:life_hooks/src/widgets/state_initializer.dart
that imports:package:life_hooks/src/hooks/hooks.dart
that imports:package:life_hooks/src/hooks/use_keyboard_visibility.dart
that imports:package:xsoulspace_ui_foundation/xsoulspace_ui_foundation.dart
that imports:package:xsoulspace_ui_foundation/src/foundation.dart
that imports:package:xsoulspace_ui_foundation/src/utils/utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils_io.dart
that imports:package:store_checker/store_checker.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:life_hooks/life_hooks.dart
that imports:package:life_hooks/src/widgets/widgets.dart
that imports:package:life_hooks/src/widgets/state_initializer.dart
that imports:package:life_hooks/src/hooks/hooks.dart
that imports:package:life_hooks/src/hooks/use_keyboard_visibility.dart
that imports:package:xsoulspace_ui_foundation/xsoulspace_ui_foundation.dart
that imports:package:xsoulspace_ui_foundation/src/foundation.dart
that imports:package:xsoulspace_ui_foundation/src/utils/utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils.dart
that imports:package:xsoulspace_ui_foundation/src/utils/app_store_utils/app_store_utils_io.dart
that imports:package:store_checker/store_checker.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 5 issues. Showing the first 2:
/tmp/pana_LMTCAT/lib/src/contextful_life_hook.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_LMTCAT/lib/src/hooks/form_helper.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_hooks |
^0.21.2 |
0.21.2 | 0.21.2 | |
flutter_keyboard_visibility |
^6.0.0 |
6.0.0 | 6.0.0 | |
xsoulspace_foundation |
^0.2.0 |
0.2.0 | 0.2.0 | |
xsoulspace_ui_foundation |
^0.1.0 |
0.1.0 | 0.1.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.