realtime_battery_indicator library
Classes
- BatteryIndicator
- BatteryIndicator is a widget that displays the battery level and status.
- DefaultBatteryIndicator
- A widget that displays the battery level and status.
- DefaultBatteryStatus
- DefaultBatteryStatus is a class that displays the battery level and status.
Enums
Properties
- battery → Battery
-
final
- batteryLevel ↔ int
-
getter/setter pair
-
batteryLevelController
→ StreamController<
int> -
final
- batteryState ↔ BatteryState
-
getter/setter pair
- batteryStateText ↔ String
-
getter/setter pair
Functions
-
getBatteryLevel(
) → Widget -
getBatteryState(
) → Widget -
updateBatteryLevel(
) → Future< void>