elliptical_progress_bar 0.0.1+7 copy "elliptical_progress_bar: ^0.0.1+7" to clipboard
elliptical_progress_bar: ^0.0.1+7 copied to clipboard

A pretty flutter package to create elliptical progress bars with multiple customisation options, such as the ability to set the colors, stroke width, text style and more.

Elliptical progress bar #

Features

  • Responsive
  • Customizable
  • Easy styling

Installing #

flutter get elliptical_progress_bar

Important #

The aspect ratio of the graph is 3:1, adjust thickness required accordingly.

Usage #

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('Elliptical progress bar'),
        ),
        body: SingleChildScrollView(
          child: Padding(
            padding: const EdgeInsets.all(10),
            child: 
                EllipticalProgressBar(
                  fillColor: Colors.red,
                  bgColor: Colors.red.withOpacity(0.5),
                  thickness: 30,
                  progress: 70,
                  textColor: Colors.blue,
                  showCenterProgress: false,
                ),
            ),
          ),
        );
  }
}

Props #

Name Value Description
fillColor Color Color to show the progress with.
bgColor Color Color to show the loop with.
progress double Progress value (0 - 100).
textColor Color, optional Color to show the progress text in center with.
showCenterProgress bool, default - true, optional enable to show the center progress value, set to false to hide
thickness double, default - 10, optional set the thickness of the loop
progressTextStyle TextStyle, optional To customise the center progress text style
7
likes
150
pub points
20%
popularity
screenshot

Publisher

verified publishera7alabs.com

A pretty flutter package to create elliptical progress bars with multiple customisation options, such as the ability to set the colors, stroke width, text style and more.

Repository (GitHub)
View/report issues

Topics

#progress-bar #progress-indicator #elliptical-progress-bar #ellipse

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on elliptical_progress_bar