battery_plus_linux 1.1.2
battery_plus_linux: ^1.1.2 copied to clipboard
Linux implementation of the battery_plus plugin
1
likes
100/ 130
pub points
74%
popularity
We analyzed this package 4 days ago, and awarded it 100 pub points (of a possible 130):
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.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/10 points: 20% or more of the public API has dartdoc comments
- 6 out of 10 API elements (60.0 %) have documentation comments.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Linux
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:battery_plus_linux/battery_plus_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:battery_plus_linux/battery_plus_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:battery_plus_linux/battery_plus_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:battery_plus_linux/battery_plus_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:battery_plus_linux/battery_plus_linux.dart
that declares support for platforms:Linux
.
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: Close instances of `dart.core.Sink`.
lib/src/battery_plus_linux.dart:65:35
╷
65 │ StreamController<BatteryState>? _stateController;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/battery_plus_linux.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
battery_plus_platform_interface | ^1.2.0 | 1.2.1 | 1.2.1 |
dbus | ^0.7.5 | 0.7.6 | 0.7.6 |
flutter | flutter | 0.0.0 | 0.0.0 |
meta | ^1.7.0 | 1.7.0 | 1.8.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args | - | 2.3.1 | 2.3.1 |
characters | - | 1.2.0 | 1.2.1 |
collection | - | 1.16.0 | 1.16.0 |
ffi | - | 2.0.1 | 2.0.1 |
material_color_utilities | - | 0.1.4 | 0.1.5 |
petitparser | - | 5.0.0 | 5.0.0 |
plugin_platform_interface | - | 2.1.2 | 2.1.2 |
sky_engine | - | 0.0.99 | 0.0.99 |
vector_math | - | 2.1.2 | 2.1.2 |
xml | - | 6.1.0 | 6.1.0 |
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: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.13
, Flutter 3.0.3
, Dart 2.17.5
.