handleCut method Null safety
- TextSelectionDelegate delegate,
- [ClipboardStatusNotifier? clipboardStatus]
Call TextSelectionDelegate.cutSelection to cut current selection.
This is called by subclasses when their cut affordance is activated by the user.
Implementation
// TODO(chunhtai): remove optional parameter once migration is done.
// https://github.com/flutter/flutter/issues/99360
void handleCut(TextSelectionDelegate delegate, [ClipboardStatusNotifier? clipboardStatus]) {
delegate.cutSelection(SelectionChangedCause.toolbar);
}