resolve method

  1. @override
void resolve (GestureDisposition disposition)
override

Resolves this recognizer's participation in each gesture arena with the given disposition.

Implementation

@override
void resolve(GestureDisposition disposition) {
  if (_wonArenaForPrimaryPointer && disposition == GestureDisposition.rejected) {
    // This can happen if the gesture has been canceled. For example, when
    // the pointer has exceeded the touch slop, the buttons have been changed,
    // or if the recognizer is disposed.
    assert(_sentTapDown);
    _checkCancel('spontaneous ');
    _reset();
  }
  super.resolve(disposition);
}