https://github.com/devmuaz/flutter_xradial_progress_indicator
A flutter radial progress widget built simply with few properties to play with.
https://github.com/devmuaz/flutter_xradial_progress_indicator
Last synced: 3 months ago
JSON representation
A flutter radial progress widget built simply with few properties to play with.
- Host: GitHub
- URL: https://github.com/devmuaz/flutter_xradial_progress_indicator
- Owner: devmuaz
- Created: 2020-04-22T12:05:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T19:02:12.000Z (about 5 years ago)
- Last Synced: 2025-01-25T09:09:44.541Z (5 months ago)
- Language: Dart
- Size: 247 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```dart
// 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