copySelection method
- @Deprecated('Use `contextMenuBuilder` instead. ' 'This feature was deprecated after v3.3.0-0.5.pre.')
- @override
- 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();
}