CustomCircularProgressIndicator constructor

const CustomCircularProgressIndicator({
  1. Key? key,
  2. required double progress,
  3. required Color filledColor,
  4. required Color unfilledColor,
  5. double strokeWidth = 10.0,
  6. double size = 100.0,
})

Creates a CustomCircularProgressIndicator.

progress must be between 0.0 and 1.0.

Implementation

const CustomCircularProgressIndicator({
  super.key,
  required this.progress,
  required this.filledColor,
  required this.unfilledColor,
  this.strokeWidth = 10.0,
  this.size = 100.0,
}) : assert(progress >= 0.0 && progress <= 1.0);