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 (_longPressAccepted && disposition == GestureDisposition.rejected) {
    // This can happen if the gesture has been canceled. For example when
    // the buttons have changed.
    _reset();
  }
  super.resolve(disposition);
}