setValue method
Sets the animation value directly.
Example:
controller.setValue(0.5);
Implementation
void setValue(double value) {
this.value = value.clamp(0.0, 1.0);
}
Sets the animation value directly.
Example:
controller.setValue(0.5);
void setValue(double value) {
this.value = value.clamp(0.0, 1.0);
}