setValue method
Sets the progress to value.
Implementation
void setValue(double value) {
final nextValue = value.clamp(0, 100).toDouble();
if (nextValue == this.value) return;
this.value = nextValue;
}
Sets the progress to value.
void setValue(double value) {
final nextValue = value.clamp(0, 100).toDouble();
if (nextValue == this.value) return;
this.value = nextValue;
}