SquareProgressIndicator constructor
const
SquareProgressIndicator({
- Key? key,
- double? value,
- bool clockwise = true,
- double borderRadius = 8,
- Color? color,
- Color? emptyStrokeColor,
- double strokeWidth = 4,
- double emptyStrokeWidth = 4,
- Widget? child,
- double startPosition = 0,
- double width = 38,
- double height = 38,
- SquareStrokeAlign strokeAlign = SquareStrokeAlign.inside,
- StrokeCap? strokeCap,
Implementation
const SquareProgressIndicator({
super.key,
this.value,
this.clockwise = true,
this.borderRadius = 8,
this.color,
this.emptyStrokeColor,
this.strokeWidth = 4,
this.emptyStrokeWidth = 4,
this.child,
this.startPosition = 0,
this.width = 38,
this.height = 38,
this.strokeAlign = SquareStrokeAlign.inside,
this.strokeCap,
}) : assert(startPosition >= 0 && startPosition <= 1, "'startFrom' must be between 0 and 1");