updateScrub method

void updateScrub(
  1. double value, {
  2. double velocity = 0,
})

Sets the scrubbed value; ignored outside a scrub.

Implementation

void updateScrub(double value, {double velocity = 0}) {
  if (!_scrubbing) {
    return;
  }
  _value = value;
  _velocity = velocity;
  notifyListeners();
}