flutter_use_battery 0.0.3 flutter_use_battery: ^0.0.3 copied to clipboard
Collection of Flutter Hooks.
We analyzed this package 8 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 60 to 180 characters to describe the package, what it does, and its target use case.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/wasabeef/flutter_use/issues
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: Unlicense
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 8 API elements (12.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: flutter_use_battery
, flutter_use_battery.UseBatteryState
, flutter_use_battery.UseBatteryState.UseBatteryState
, flutter_use_battery.UseBatteryState.batteryLevel
, flutter_use_battery.UseBatteryState.batteryState
.
10/10 points: Package has an example
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
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
battery_plus |
^2.1.4+1 |
2.2.2 | 6.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_hooks |
^0.18.5+1 |
0.18.6 | 0.20.5 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
battery_plus_linux |
- | 1.2.0 | 1.2.0 |
battery_plus_macos |
- | 1.1.1 | 1.1.1 |
battery_plus_platform_interface |
- | 1.2.2 | 2.0.1 |
battery_plus_web |
- | 1.1.0 | 1.1.0 |
battery_plus_windows |
- | 1.1.3 | 1.1.3 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
dbus |
- | 0.7.10 | 0.7.10 |
ffi |
- | 2.1.3 | 2.1.3 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
upower |
- | 0.7.0 | 0.7.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.1.4+1` on battery_plus does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions battery_plus
to update the constraint.
The constraint `^0.18.5+1` on flutter_hooks does not support the stable version `0.19.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.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.