flutter_electricity_meter

Last updated:

0 purchases

flutter_electricity_meter Image
flutter_electricity_meter Images
Add to Cart

Description:

flutter electricity meter

Features #
This is the UI with the animation as Electricity meter and you can customize it by yourself.
Demo #

Getting started #
The first thing you need to do is initialize the ElectricityMeterManager with the maximum value.
final manager = ElectricityMeterManager(maxValue: 100000);
copied to clipboard
After that you can setup in your widget by this.
ElectricityMeter(
width: MediaQuery.of(context).size.width,
manager: manager,
colors: const [
Color(0xFFfb0505),
Color(0xFFfb7607),
Color(0xFFf4ea07),
Color(0xFF61f205),
Color(0xFF00f6cb),
],
)
copied to clipboard
Usage #
When you want to update the value, you can call this function "startRotate" in the manager with the integer input.
Or you want to change the value from the current value, you can call this function "onChange".

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.