update method
Set the progress bar to a specific value
Implementation
void update(int value) {
_current = value.clamp(0, total);
_render();
}
Set the progress bar to a specific value
void update(int value) {
_current = value.clamp(0, total);
_render();
}