resolve method

  1. @override
void resolve(
  1. 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(null, 'spontaneous');
    _reset();
  }
  super.resolve(disposition);
}