animateTo method

void animateTo(
  1. T newValue
)

Implementation

void animateTo(T newValue) {
  _targetValue = newValue;
  notifyListeners();
}