battery_indicator 0.0.4 copy "battery_indicator: ^0.0.4" to clipboard
battery_indicator: ^0.0.4 copied to clipboard

outdated

A battery indicator widget.

flutter_battery_indicator #

A battery indicator widget

Usage #

To use this plugin, add battery_indicator as a dependency in your pubspec.yaml file.

Example #

// Import package
import 'package:battery_indicator/battery_indicator.dart';

// Instantiate it
var batteryIndicator = new BatteryIndicator(
                                style: BatteryIndicatorStyle.values[_styleIndex],
                                colorful: _colorful,
                                showPercentNum: _showPercentNum,
                                mainColor: _color,
                                size: _size,
                                ratio: _ratio,
                                showPercentSlide: _showPercentSlide,
                              );

// and then add it to your layout .

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

14
likes
0
points
147
downloads

Publisher

verified publisherdebuggerx.com

Weekly Downloads

A battery indicator widget.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

battery, flutter

More

Packages that depend on battery_indicator