ProgressBar constructor
const
ProgressBar({})
Creates a new progress bar.
value, if non-null, must be in the range of 0 to 100.
strokeWidth must be equal or greater than 0
Implementation
const ProgressBar({
Key? key,
this.value,
this.strokeWidth = 4.5,
this.semanticLabel,
this.backgroundColor,
this.activeColor,
}) : assert(value == null || value >= 0 && value <= 100),
assert(strokeWidth >= 0),
super(key: key);