onSingleLongTapEnd method

  1. @protected
void onSingleLongTapEnd(
  1. LongPressEndDetails details
)

Handler for EditorTextSelectionGestureDetector.onSingleLongTapEnd.

By default, it shows toolbar if necessary.

See also:

Implementation

@protected
void onSingleLongTapEnd(LongPressEndDetails details) {
  if (shouldShowSelectionToolbar) {
    editor!.showToolbar();
  }
}