UProgressCircular constructor

const UProgressCircular({
  1. Key? key,
  2. int? value,
  3. double size = 56,
  4. double strokeWidth = 6,
  5. Color? backgroundColor,
  6. Color? progressColor,
  7. Gradient? gradient,
  8. StrokeCap strokeCap = StrokeCap.round,
  9. Duration duration = const Duration(milliseconds: 400),
  10. Curve curve = Curves.easeOutCubic,
  11. Duration indeterminateDuration = const Duration(milliseconds: 1000),
  12. double indeterminateSweep = 0.75,
  13. double startAngle = -math.pi / 2,
  14. bool clockwise = true,
  15. UProgressLabelBuilder? labelBuilder,
})

Implementation

const UProgressCircular({
  super.key,
  this.value,
  this.size = 56,
  this.strokeWidth = 6,
  this.backgroundColor,
  this.progressColor,
  this.gradient,
  this.strokeCap = StrokeCap.round,
  this.duration = const Duration(milliseconds: 400),
  this.curve = Curves.easeOutCubic,
  this.indeterminateDuration = const Duration(milliseconds: 1000),
  this.indeterminateSweep = 0.75,
  this.startAngle = -math.pi / 2,
  this.clockwise = true,
  this.labelBuilder,
});