ios_battery_indicator 1.8.1
ios_battery_indicator: ^1.8.1 copied to clipboard
A Flutter widget that replicates the native iOS battery indicator, including support for iOS 27 style and automatic system battery monitoring.
We analyzed this package 5 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
32 out of 37 API elements (86.5 %) have documentation comments.
Some symbols that are missing documentation: ios_battery_indicator, ios_battery_indicator.BatteryIndicatorTheme.BatteryIndicatorTheme.dark, ios_battery_indicator.BatteryIndicatorTheme.BatteryIndicatorTheme.light, ios_battery_indicator.BatteryIndicatorTheme.BatteryIndicatorTheme.new, ios_battery_indicator.IosBatteryIndicator.IosBatteryIndicator.new.
10/10 points: Package has an example and has no issues with screenshots
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.dartthat imports:package:ios_system_sound/ios_system_sound.dartthat declares support for platforms:iOS.
Package does not support platform `iOS`.
Because:
package:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.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 `Windows`.
Because:
package:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.dartthat imports:package:ios_system_sound/ios_system_sound.dartthat declares support for platforms:iOS.
Package does not support platform `Linux`.
Because:
package:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.dartthat imports:package:ios_system_sound/ios_system_sound.dartthat declares support for platforms:iOS.
Package does not support platform `macOS`.
Because:
package:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.dartthat imports:package:ios_system_sound/ios_system_sound.dartthat declares support for platforms:iOS.
Package does not support platform `Web`.
Because:
package:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.dartthat imports:package:ios_system_sound/ios_system_sound.dartthat declares support for platforms:iOS.
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:ios_battery_indicator/ios_battery_indicator.dartthat imports:package:ios_battery_indicator/src/ios_battery_indicator.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 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 | Notes |
|---|---|---|---|---|
battery_plus |
^7.1.0 |
7.1.1 | 7.1.1 | |
cupertino_ui |
any |
1.0.2 | 1.0.2 | |
cutout |
^1.0.2 |
1.0.2 | 1.0.2 | |
device_info_plus |
^13.2.0 |
13.2.0 | 13.2.0 | |
ios_system_sound |
^0.0.2 |
0.0.2 | 0.0.2 | |
material_ui |
any |
1.1.1 | 1.1.1 | |
version |
^3.0.2 |
3.0.2 | 3.0.2 |
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 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.15 | 0.7.15 | |
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 | |
intl |
- | 0.20.3 | 0.20.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
upower |
- | 0.7.0 | 0.7.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.4.0 | 6.4.0 | |
win32_registry |
- | 3.0.3 | 3.0.3 | |
xml |
- | 7.0.1 | 7.0.1 |
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: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.
