pasteText method
- @Deprecated('Use `contextMenuBuilder` instead. ' 'This feature was deprecated after v3.3.0-0.5.pre.')
- @override
- SelectionChangedCause cause
override
Paste text from Clipboard.
If there is currently a selection, it will be replaced.
If and only if cause
is SelectionChangedCause.toolbar, the toolbar
will be hidden and the current selection will be scrolled into view.
Implementation
@Deprecated(
'Use `contextMenuBuilder` instead. '
'This feature was deprecated after v3.3.0-0.5.pre.',
)
@override
Future<void> pasteText(SelectionChangedCause cause) async {
assert(false);
}