ArcProgressBar constructor
const
ArcProgressBar({
- Key? key,
- double percentage = 0,
- double innerPadding = 16,
- bool animateFromLastPercent = true,
- Duration animationDuration = const Duration(seconds: 1),
- Curve animationCurve = Curves.easeInOutCubic,
- double? handleSize,
- Widget? handleWidget,
- Color? handleColor,
- double arcThickness = 10,
- StrokeCap strokeCap = StrokeCap.square,
- Color backgroundColor = Colors.black12,
- Color foregroundColor = Colors.black,
- Widget? bottomCenterWidget,
- Widget? bottomRightWidget,
- Widget? bottomLeftWidget,
- Widget? centerWidget,
- Function? onAnimationStart,
- Function? onAnimationEnd,
Implementation
const ArcProgressBar(
{Key? key,
this.percentage = 0,
this.innerPadding = 16,
this.animateFromLastPercent = true,
this.animationDuration = const Duration(seconds: 1),
this.animationCurve = Curves.easeInOutCubic,
this.handleSize,
this.handleWidget,
this.handleColor,
this.arcThickness = 10,
this.strokeCap = StrokeCap.square,
this.backgroundColor = Colors.black12,
this.foregroundColor = Colors.black,
this.bottomCenterWidget,
this.bottomRightWidget,
this.bottomLeftWidget,
this.centerWidget,
this.onAnimationStart,
this.onAnimationEnd})
: super(key: key);