battery_plus_ohos 0.0.2 copy "battery_plus_ohos: ^0.0.2" to clipboard
battery_plus_ohos: ^0.0.2 copied to clipboard

Flutter plugin for accessing information about the battery state(full, charging, discharging) on OpenHarmony.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add battery_plus_ohos

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

dependencies:
  battery_plus_ohos: ^0.0.2

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_plus_ohos/battery_plus_ohos.dart';
1
likes
120
points
28
downloads

Publisher

verified publisherharmonycandies.com

Weekly Downloads

Flutter plugin for accessing information about the battery state(full, charging, discharging) on OpenHarmony.

Repository (GitHub)
View/report issues

Topics

#battery #battery-plus #ohos #harmony-os #openharmony

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on battery_plus_ohos