Latest update: 2023-07-27 16:30:49
A Based Battery Indicator Widget, Which Helps You Create A Battery Indicator With A iOS-Like Battery Indicator
Inspired by cupertino_battery_indicator
Or try out live example app
-
Follow Installing to add
based_dock_scaffold
to yourpubspec.yaml
-
Use it as below:
BasedBatteryIndicator(
status: BasedBatteryStatus(
value: 80,
type: BasedBatteryStatusType.error,
),
trackHeight: 10.0,
trackAspectRatio: 2.0,
curve: Curves.ease,
duration: const Duration(second: 1),
),
- For more information, see the example code at example
Done, but it will revise if necessary
None
This project is licensed under the terms of the MIT
license. See LICENSE for more details