copySelection method

  1. @Deprecated('Use `contextMenuBuilder` instead. ' 'This feature was deprecated after v3.3.0-0.5.pre.')
  2. @override
void copySelection(
  1. SelectionChangedCause cause
)
override

Copy current selection to Clipboard.

If cause is SelectionChangedCause.toolbar, the position of bringIntoView to selection will be called and hide toolbar.

Implementation

@Deprecated(
  'Use `contextMenuBuilder` instead. '
  'This feature was deprecated after v3.3.0-0.5.pre.',
)
@override
void copySelection(SelectionChangedCause cause) {
  _copy();
  _clearSelection();
}