handleLongPress method Null safety

void handleLongPress()

If ignorePointer is false (the default) then this method is called by the internal gesture recognizer's LongPressGestureRecognizer.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);
}