accept method

void accept()

Accepts the gesture and notifies listeners of the current animation status.

Implementation

void accept() {
  assert(_animation != null);
  assert(callback != null);
  isRejectable = false;
  _animation?.notifyStatusListeners(_animation!.status);
  _whenPhase(TouchScaleCallPhase.onAccepted);
}