onSecondaryTapDown method

  1. @protected
void onSecondaryTapDown(
  1. TapDownDetails details
)

Handler for TextSelectionGestureDetector.onSecondaryTapDown.

See also:

Implementation

@protected
void onSecondaryTapDown(TapDownDetails details) {
  // TODO(Renzo-Olivares): Migrate text selection gestures away from saving state
  // in renderEditable. The gesture callbacks can use the details objects directly
  // in callbacks variants that provide them [TapGestureRecognizer.onSecondaryTap]
  // vs [TapGestureRecognizer.onSecondaryTapUp] instead of having to track state in
  // renderEditable. When this migration is complete we should remove this hack.
  // See https://github.com/flutter/flutter/issues/115130.
  renderEditable.handleSecondaryTapDown(TapDownDetails(globalPosition: details.globalPosition));
  _shouldShowSelectionToolbar = true;
}