awareframework_battery 0.0.5
awareframework_battery: ^0.0.5 copied to clipboard
The Battery sensor monitors battery information and monitors power related events
0
likes
80
/ 110
pub points
0
%
popularity
We analyzed this package on Jan 18, 2021, and awarded it 80 pub points (of a possible 110):
0/10 points: Provide a valid pubspec.yaml
Homepage URL is insecure.
Update the homepage
field and use a secure (https
) URL.
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
- 13 out of 47 API elements (27.7 %) 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:awareframework_battery/awareframework_battery.dart
that declares support for platforms: Android, iOS
20/30 points: code has no errors, warnings, lints, or formatting issues
INFO: The value of the field '_batteryStream' isn't used.
lib/awareframework_battery.dart:51:30
╷
51 │ static const EventChannel _batteryStream = const EventChannel('awareframework_battery/event');
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using pedantic and run flutter analyze lib/awareframework_battery.dart
lib/awareframework_battery.dart is not formatted according to dartfmt
To format your files run: dartfmt -w .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
awareframework_core | ^0.1.1 | 0.1.1 | 0.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0-nullsafety.5 | 1.1.0-nullsafety.5 |
charts_common | - | 0.5.0 | 0.9.0 |
charts_flutter | - | 0.5.0 | 0.9.0 |
collection | - | 1.15.0-nullsafety.5 | 1.15.0-nullsafety.5 |
intl | - | 0.15.8 | 0.16.1 |
logging | - | 0.11.4 | 0.11.4 |
meta | - | 1.3.0-nullsafety.6 | 1.3.0-nullsafety.6 |
path | - | 1.7.0 | 1.8.0-nullsafety.3 |
typed_data | - | 1.3.0-nullsafety.5 | 1.3.0-nullsafety.5 |
vector_math | - | 2.1.0-nullsafety.5 | 2.1.0-nullsafety.5 |
To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.