ios_battery_indicator 1.2.0
ios_battery_indicator: ^1.2.0 copied to clipboard
A Flutter widget that replicates the native iOS battery indicator, including support for iOS 27 style and automatic system battery monitoring.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ios_battery_indicatorWith Flutter:
$ flutter pub add ios_battery_indicatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ios_battery_indicator: ^1.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ios_battery_indicator/ios_battery_indicator.dart';