ProgressBar constructor
const
ProgressBar({})
Creates a new progress bar
height
more be non-negative
value
must be in the range of 0 and 100
Implementation
const ProgressBar({
super.key,
this.height = 4.5,
required this.value,
this.trackColor,
this.backgroundColor,
this.semanticLabel,
}) : assert(value >= 0 && value <= 100),
assert(height >= 0);