Skip to content

A flutter radial progress widget built simply with few properties to play with.

Notifications You must be signed in to change notification settings

devmuaz/flutter_xradial_progress_indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

XRadialProgress Widget

It's simply a radial progress that uses a CustomPaint as an extended class where we can draw circles, arcs, and much more.

Usage

// class or file import
import ...;

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // this [Center] widget can be wrapped by scaffold
    return Center(
      // specified widget
      child: XRadialProgress(
        progressValue: 0.3,
        color: Colors.blue,
        // other properties...
      ),
    );
  }
}

Properties

  • progressValue: a double progress value (0.0 - 0.1).
  • progressValueInDegrees: an int progress value (0 - 360).
  • color: which colors the circle progress.
  • gradient: which gives a gradient instead of color.
  • showBackCircle: whether to show the grey circle or not.
  • isBackCircleFill: whether to fill the grey circle or not.
  • backCircleColor: color of the grey [default] circle.
  • width: the width of the stroke.
  • child: a widget inside this radial progress.

Preview

Enjoy

About

A flutter radial progress widget built simply with few properties to play with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages