simplest_power_utilities 0.0.1
simplest_power_utilities: ^0.0.1 copied to clipboard
Plugin which exposes various power-related utilities for Android and iOS, including low power mode detection
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simplest_power_utilitiesThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
simplest_power_utilities: ^0.0.1Alternatively, 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:simplest_power_utilities/simplest_power_utilities.dart';