tick method

void tick([
  1. int amount = 1
])

Update the progress bar by incrementing the current value

Implementation

void tick([int amount = 1]) {
  _current = (_current + amount).clamp(0, total);
  _render();
}