battery_plus 1.0.0
battery_plus: ^1.0.0 copied to clipboard

Flutter Android iOS Linux macOS web Windows

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):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

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.
Support multiple platforms
20 / 20

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
Pass static analysis
30 / 30

30/30 points: code has no errors, warnings, lints, or formatting issues

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
battery_plus_linux^1.0.01.0.01.0.0
battery_plus_macos^1.0.01.0.01.0.0
battery_plus_platform_interface^1.0.01.0.01.0.0
battery_plus_web^1.0.01.0.01.0.0
battery_plus_windows^1.0.01.0.01.0.0
flutterflutter0.0.00.0.0
meta^1.3.01.3.01.3.0
Transitive dependencies
PackageConstraintCompatibleLatest
args-2.0.02.0.0
characters-1.1.01.1.0
collection-1.15.01.15.0
dbus-0.2.10.2.1
flutter_web_plugins-0.0.00.0.0
js-0.6.30.6.3
petitparser-4.0.24.0.2
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.0
xml-5.0.25.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

Support sound null-safety
0 / 0

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).

9
likes
110
pub points
41%
popularity

Publisher

fluttercommunity.dev

Flutter plugin for accessing information about the battery state(full, charging, discharging).

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

battery_plus_linux, battery_plus_macos, battery_plus_platform_interface, battery_plus_web, battery_plus_windows, flutter, meta

More

Packages that depend on battery_plus