SemicircularIndicator constructor

const SemicircularIndicator({
  1. double radius = 120,
  2. double strokeWidth = 16,
  3. double progress = 0.75,
  4. Color backgroundColor = Colors.black26,
  5. Color color = Colors.green,
  6. StrokeCap strokeCap = StrokeCap.round,
  7. Widget? child,
  8. bool userDefaultChildPosition = true,
  9. double bottomPadding = 0,
  10. bool contain = false,
  11. Key? key,
})

Implementation

const SemicircularIndicator({
  this.radius = 120,
  this.strokeWidth = 16,
  this.progress = 0.75,
  this.backgroundColor = Colors.black26,
  this.color = Colors.green,
  this.strokeCap = StrokeCap.round,
  this.child,
  this.userDefaultChildPosition = true,
  this.bottomPadding = 0,
  this.contain = false,
  Key? key,
})  : assert(0 <= progress && progress <= 1),
      assert(0 < strokeWidth),
      assert(strokeWidth < radius),
      super(key: key);