SquareProgressIndicator constructor

const SquareProgressIndicator({
  1. Key? key,
  2. double? value,
  3. bool clockwise = true,
  4. double borderRadius = 8,
  5. Color? color,
  6. Color? emptyStrokeColor,
  7. double strokeWidth = 4,
  8. double emptyStrokeWidth = 4,
  9. Widget? child,
  10. double startPosition = 0,
  11. double width = 38,
  12. double height = 38,
  13. SquareStrokeAlign strokeAlign = SquareStrokeAlign.inside,
  14. 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");