handleLongPress method

void handleLongPress ()

If ignorePointer is false (the default) then this method is called by the internal gesture recognizer's LongPressRecognizer.onLongPress callback.

When ignorePointer is true, an ancestor widget must respond to long press events by calling this method.

Implementation

void handleLongPress() {
  selectWord(cause: SelectionChangedCause.longPress);
}