rejectGesture method

  1. @override
void rejectGesture(
  1. int pointer
)
override

Called when this member loses the arena for the given pointer id.

Implementation

@override
void rejectGesture(int pointer) {
  // For some reason when vertical / horizontal drag start is recognized
  // onLongPressCancel is not invoked.
  _onLongPressCancel(rejected: true);
  super.rejectGesture(pointer);
}