onSingleLongTapEnd method Null safety

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

Handler for TextSelectionGestureDetector.onSingleLongTapEnd.

By default, it shows toolbar if necessary.

See also:

Implementation

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