UProgressCircular constructor
const
UProgressCircular({
- Key? key,
- int? value,
- double size = 56,
- double strokeWidth = 6,
- Color? backgroundColor,
- Color? progressColor,
- Gradient? gradient,
- StrokeCap strokeCap = StrokeCap.round,
- Duration duration = const Duration(milliseconds: 400),
- Curve curve = Curves.easeOutCubic,
- Duration indeterminateDuration = const Duration(milliseconds: 1000),
- double indeterminateSweep = 0.75,
- double startAngle = -math.pi / 2,
- bool clockwise = true,
- 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,
});