CircularPercentIndicator constructor

const CircularPercentIndicator({
  1. Key? key,
  2. required double percent,
  3. required double radius,
  4. double lineWidth = 10.0,
  5. bool animation = false,
  6. int animationDuration = 600,
  7. Widget? center,
  8. Color? backgroundColor,
  9. Color? progressColor,
  10. bool rotateLinearGradient = false,
})

Implementation

const CircularPercentIndicator({
  super.key,
  required this.percent,
  required this.radius,
  this.lineWidth = 10.0,
  this.animation = false,
  this.animationDuration = 600,
  this.center,
  this.backgroundColor,
  this.progressColor,
  this.rotateLinearGradient = false,
});