tick method
Update the progress bar by incrementing the current value
Implementation
void tick([int amount = 1]) {
_current = (_current + amount).clamp(0, total);
_render();
}
Update the progress bar by incrementing the current value
void tick([int amount = 1]) {
_current = (_current + amount).clamp(0, total);
_render();
}