battery_flutter 0.0.1
battery_flutter: ^0.0.1 copied to clipboard
A plugin get device battery
0.0.1 #
- Initial release of
battery_flutterplugin. - Supports getting battery level on:
- ✅ Android (using
BatteryManager) - ✅ iOS (using
UIDevice)
- ✅ Android (using
- Exposes:
getBattery()→ returns current battery percentage.getPlatformVersion()→ returns platform version (debug/testing purpose).
- Includes working example app in
/examplefolder.