SFProgressBar constructor
const
SFProgressBar({})
Implementation
const SFProgressBar({
Key? key,
this.height = 30,
this.value,
this.duration,
this.valueTextStyle,
this.backgroundColor,
this.valueBackgroundColor,
this.animation = true,
this.animationDuration,
this.borderRadius = 16,
this.textPadding = 16,
}) : assert(value == null ? true : duration == null),
assert(value != null ? (value >= 0.0 && value <= 100) : true),
super(key: key);