battery_plus 1.0.0
battery_plus: ^1.0.0 copied to clipboard
Flutter plugin for accessing information about the battery state(full, charging, discharging).
9
likes
110
/ 110
pub points
41
%
popularity
We analyzed this package on Mar 3, 2021, and awarded it 110 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
- 4 out of 5 API elements (80.0 %) have documentation comments.
20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)
Found 6 issues. Showing the first 2:
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support Flutter platform Android
Because:
package:battery_plus/battery_plus.dart
that imports:package:battery_plus_linux/battery_plus_linux.dart
that declares support for platforms: Linux
30/30 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
battery_plus_linux | ^1.0.0 | 1.0.0 | 1.0.0 |
battery_plus_macos | ^1.0.0 | 1.0.0 | 1.0.0 |
battery_plus_platform_interface | ^1.0.0 | 1.0.0 | 1.0.0 |
battery_plus_web | ^1.0.0 | 1.0.0 | 1.0.0 |
battery_plus_windows | ^1.0.0 | 1.0.0 | 1.0.0 |
flutter | flutter | 0.0.0 | 0.0.0 |
meta | ^1.3.0 | 1.3.0 | 1.3.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args | - | 2.0.0 | 2.0.0 |
characters | - | 1.1.0 | 1.1.0 |
collection | - | 1.15.0 | 1.15.0 |
dbus | - | 0.2.1 | 0.2.1 |
flutter_web_plugins | - | 0.0.0 | 0.0.0 |
js | - | 0.6.3 | 0.6.3 |
petitparser | - | 4.0.2 | 4.0.2 |
sky_engine | - | 0.0.99 | 0.0.99 |
typed_data | - | 1.3.0 | 1.3.0 |
vector_math | - | 2.1.0 | 2.1.0 |
xml | - | 5.0.2 | 5.0.2 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/0 points: Package and dependencies are fully migrated to null-safety, and will be awarded additional points in a planned future revision of the pub.dev points model.
Analysed with
Pana 0.15.2
,
Flutter 1.26.0-17.8.pre
,
Dart 2.12.0 (build 2.12.0-259.16.beta)
.