CircularProgress constructor
const
CircularProgress({
- Color? circularBackground,
- Gradient? circularBackgroundGradient,
- double size = 5,
- double? radius,
- double? ratio,
- bool? isArrow,
- BorderRadius? borderRadius,
- bool reverse = false,
- double? startAngle,
- double? sweepAngle,
- StrokeCap strokeCap = StrokeCap.round,
- double progress = 0.0,
- int progressReserve = 1,
- ProgressType progressType = ProgressType.indeterminate,
- Color foreground = Colors.orange,
- Color background = Colors.blueAccent,
- bool isProgressOpacityAnim = true,
- TextStyle textStyle = const TextStyle(fontSize: 12, color: Colors.white),
- String? prefix,
- TextStyle? prefixStyle,
- String? suffix,
- TextStyle? suffixStyle,
- BorderSide? borderSide,
- Gradient? foregroundGradient,
- Gradient? backgroundGradient,
- 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,
});