onSingleTapUp method

  1. @protected
void onSingleTapUp(
  1. TapUpDetails details
)

Handler for EditorTextSelectionGestureDetector.onSingleTapUp.

By default, it selects word edge if selection is enabled.

See also:

Implementation

@protected
void onSingleTapUp(TapUpDetails details) {
  if (delegate.selectionEnabled) {
    renderEditor!.selectWordEdge(SelectionChangedCause.tap);
  }
}