ProgressCircle constructor

const ProgressCircle({
  1. Key? key,
  2. double? value,
  3. double radius = 10,
  4. Color? innerColor,
  5. Color? borderColor,
  6. String? semanticLabel,
})

Creates a new progress circle.

radius must be non-negative

value must be in the range of 0 and 100

Implementation

const ProgressCircle({
  super.key,
  this.value,
  this.radius = 10,
  this.innerColor,
  this.borderColor,
  this.semanticLabel,
})  : assert(value == null || value >= 0 && value <= 100),
      assert(radius >= 0);