CircularProgress constructor

const CircularProgress({
  1. Color? circularBackground,
  2. Gradient? circularBackgroundGradient,
  3. double size = 5,
  4. double? radius,
  5. double? ratio,
  6. bool? isArrow,
  7. BorderRadius? borderRadius,
  8. bool reverse = false,
  9. double? startAngle,
  10. double? sweepAngle,
  11. StrokeCap strokeCap = StrokeCap.round,
  12. double progress = 0.0,
  13. int progressReserve = 1,
  14. ProgressType progressType = ProgressType.indeterminate,
  15. Color foreground = Colors.orange,
  16. Color background = Colors.blueAccent,
  17. bool isProgressOpacityAnim = true,
  18. TextStyle textStyle = const TextStyle(fontSize: 12, color: Colors.white),
  19. String? prefix,
  20. TextStyle? prefixStyle,
  21. String? suffix,
  22. TextStyle? suffixStyle,
  23. BorderSide? borderSide,
  24. Gradient? foregroundGradient,
  25. Gradient? backgroundGradient,
  26. List<BoxShadow>? shadows,
})

Implementation

const CircularProgress(
    {this.circularBackground,
    this.circularBackgroundGradient,
    this.size = 5,
    this.radius,
    this.ratio,
    this.isArrow,
    this.borderRadius,
    this.reverse = false,
    this.startAngle,
    this.sweepAngle,
    this.strokeCap = StrokeCap.round,
    super.progress,
    super.progressReserve,
    super.progressType,
    super.foreground,
    super.background,
    super.isProgressOpacityAnim,
    super.textStyle,
    super.prefix,
    super.prefixStyle,
    super.suffix,
    super.suffixStyle,
    super.borderSide,
    super.foregroundGradient,
    super.backgroundGradient,
    super.shadows,
    });