realtime_battery_indicator 1.0.2 copy "realtime_battery_indicator: ^1.0.2" to clipboard
realtime_battery_indicator: ^1.0.2 copied to clipboard

A realtime good looking customizable battery indicator for all platforms.

Realtime Battery Indicator #

GitHub stars pub package

A realtime good looking customizable battery indicator for all platforms.

Screenshot

It can detect if the device is charging or not and can turn battery level to red colour if battery level is less than 20%. More customizations are coming soon.

Charging

Installation #

Add realtime_battery_indicator: ^1.0.2 in your project's pubspec.yaml:

dependencies:
  realtime_battery_indicator: ^1.0.2
copied to clipboard

Usage #

Import realtime_battery_indicator in your dart file:

import 'package:realtime_battery_indicator/realtime_battery_indicator.dart';
copied to clipboard

Default Usage #

BatteryIndicator();
copied to clipboard

Custom Usage #

BatteryIndicator(
  showBatteryLevel: true,
  size: 20.0,
  textStyle: TextStyle(
    fontSize: 20.0,
    fontWeight: FontWeight.bold,
  ),
  duration: Duration(milliseconds: 200),
);
copied to clipboard

Author #

3
likes
150
points
41
downloads

Publisher

verified publishermantreshkhurana.com

Weekly Downloads

2024.09.20 - 2025.04.04

A realtime good looking customizable battery indicator for all platforms.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

battery_plus, flutter

More

Packages that depend on realtime_battery_indicator