battery 1.0.7
battery: ^1.0.7
battery: ^1.0.7
Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.
180
likes
90
/ 110
pub points
95
%
popularity
We analyzed this package on Dec 2, 2020, and awarded it 90 pub points (of a possible 110):
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: Package has an example
- Found example at:
example/lib/main.dart
10/10 points: 20% or more of the public API has dartdoc comments
- 3 out of 5 API elements (60.0 %) have documentation comments.
10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)
Found 6 issues. Showing the first 2:
Consider supporting multiple platforms:
Package does not support Flutter platform Web
Because:
package:battery/battery.dartthat declares support for platforms: Android, iOS
30/30 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
- Could not run pub outdated:
pub getfailed:
Because battery depends on integration_test from path which doesn't exist (could not find package integration_test at "../../integration_test"), version solving failed.