ArcProgressBar constructor

const ArcProgressBar({
  1. Key? key,
  2. double percentage = 0,
  3. double innerPadding = 16,
  4. bool animateFromLastPercent = true,
  5. Duration animationDuration = const Duration(seconds: 1),
  6. Curve animationCurve = Curves.easeInOutCubic,
  7. double? handleSize,
  8. Widget? handleWidget,
  9. Color? handleColor,
  10. double arcThickness = 10,
  11. StrokeCap strokeCap = StrokeCap.square,
  12. Color backgroundColor = Colors.black12,
  13. Color foregroundColor = Colors.black,
  14. Widget? bottomCenterWidget,
  15. Widget? bottomRightWidget,
  16. Widget? bottomLeftWidget,
  17. Widget? centerWidget,
  18. Function? onAnimationStart,
  19. 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);