battery_percentage_plugin 0.0.1 copy "battery_percentage_plugin: ^0.0.1" to clipboard
battery_percentage_plugin: ^0.0.1 copied to clipboard

A flutter package to show battery percentage.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add battery_percentage_plugin

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

dependencies:
  battery_percentage_plugin: ^0.0.1

Alternatively, your editor might support 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_percentage_plugin/battery_percentage_plugin.dart';
0
likes
140
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package to show battery percentage.

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on battery_percentage_plugin

Packages that implement battery_percentage_plugin