battery_info_v2 1.1.3 copy "battery_info_v2: ^1.1.3" to clipboard
battery_info_v2: ^1.1.3 copied to clipboard

Flutter plugin providing detailed information about the device battery (level, health, charging status, etc.). Now supports both IOS and android

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add battery_info_v2

With Flutter:

 $ flutter pub add battery_info_v2

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  battery_info_v2: ^1.1.3

Alternatively, 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:battery_info_v2/battery_info_plugin.dart';
import 'package:battery_info_v2/enums/charging_status.dart';
import 'package:battery_info_v2/model/android_battery_info.dart';
import 'package:battery_info_v2/model/iso_battery_info.dart';
1
likes
0
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin providing detailed information about the device battery (level, health, charging status, etc.). Now supports both IOS and android

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on battery_info_v2

Packages that implement battery_info_v2