CircularProgress constructor

const CircularProgress({
  1. Key? key,
  2. double? value,
  3. double size = 72,
  4. double strokeWidth = 6,
  5. Color? color,
  6. Color? backgroundColor,
  7. Gradient? gradient,
  8. bool showPercent = true,
  9. TextStyle? percentTextStyle,
  10. String? label,
  11. TextStyle? labelStyle,
  12. bool animate = true,
  13. Duration duration = const Duration(milliseconds: 800),
})

Implementation

const CircularProgress({
  super.key,
  this.value,
  this.size = 72,
  this.strokeWidth = 6,
  this.color,
  this.backgroundColor,
  this.gradient,
  this.showPercent = true,
  this.percentTextStyle,
  this.label,
  this.labelStyle,
  this.animate = true,
  this.duration = const Duration(milliseconds: 800),
});