MinProgress constructor

const MinProgress({
  1. Key? key,
  2. double? value,
  3. MinProgressVariant variant = MinProgressVariant.linear,
  4. double? size,
  5. double? strokeWidth,
  6. Color? color,
  7. Color? trackColor,
  8. Color? backgroundColor,
})

Implementation

const MinProgress({
  super.key,
  this.value,
  this.variant = MinProgressVariant.linear,
  this.size,
  this.strokeWidth,
  this.color,
  this.trackColor,
  this.backgroundColor,
}) : assert(
       value == null || (value >= 0.0 && value <= 1.0),
       'value must be between 0.0 and 1.0, or null for indeterminate',
     );