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 superclass decides the primary pointer
    // exceeded the touch slop, or if the recognizer is disposed.
    if (onTapCancel != null)
      invokeCallback<void>('spontaneous onTapCancel', onTapCancel);
    _reset();
  }
  super.resolve(disposition);
}