animateTo method

void animateTo(
  1. num targetValue
)

Animates the counter to targetValue.

Implementation

void animateTo(num targetValue) {
  _overrideDuration = null;
  _value = targetValue;
  notifyListeners();
}