phone_feature 0.0.2
phone_feature: ^0.0.2 copied to clipboard
A Flutter package to get battery level, adjust screen brightness, and control device vibration.
We analyzed this package 35 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 21 API elements (4.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: base_service, base_service.BaseDeviceService.BaseDeviceService.new, base_service.BaseDeviceService.getInfo, base_service.BaseDeviceService.setInfo, battery_service.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:phone_feature/phone_feature.dartthat imports:package:phone_feature/services/vibration_service.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:phone_feature/phone_feature.dartthat imports:package:phone_feature/services/vibration_service.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:phone_feature/phone_feature.dartthat imports:package:phone_feature/services/vibration_service.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:phone_feature/phone_feature.dartthat imports:package:phone_feature/services/vibration_service.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:phone_feature/phone_feature.dartthat imports:package:phone_feature/services/vibration_service.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:phone_feature/phone_feature.dartthat imports:package:phone_feature/services/vibration_service.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
battery_plus |
^6.2.3 |
6.2.3 | 7.1.0 | |
screen_brightness |
^2.1.6 |
2.1.11 | 2.1.11 | |
vibration |
^3.1.3 |
3.2.0 | 3.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
battery_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.14 | 0.7.14 | |
device_info_plus |
- | 13.2.0 | 13.2.0 | |
device_info_plus_platform_interface |
- | 8.1.0 | 8.1.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
file |
- | 7.0.1 | 7.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
screen_brightness_android |
- | 2.1.6 | 2.1.6 | |
screen_brightness_ios |
- | 2.1.4 | 2.1.4 | |
screen_brightness_macos |
- | 2.1.4 | 2.1.4 | |
screen_brightness_ohos |
- | 2.1.4 | 2.1.4 | |
screen_brightness_platform_interface |
- | 2.1.2 | 2.1.2 | |
screen_brightness_windows |
- | 2.1.2 | 2.1.2 | |
upower |
- | 0.7.0 | 0.7.0 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
vibration_platform_interface |
- | 0.1.2 | 0.1.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.3.0 | 6.3.0 | |
win32_registry |
- | 3.0.3 | 3.0.3 | |
xml |
- | 6.6.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.2.3` on battery_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions battery_plus to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.13, Flutter 3.44.3, Dart 3.12.2.
Check the analysis log for details.