onCut property

VoidCallback? get onCut

The handler for SemanticsAction.cut.

This is a request to cut the current selection and place it in the clipboard.

TalkBack users on Android can trigger this action from the local context menu of a text field, for example.

Implementation

VoidCallback? get onCut => _onCut;
set onCut (VoidCallback? value)

Implementation

set onCut(VoidCallback? value) {
  _addArgumentlessAction(SemanticsAction.cut, value!);
  _onCut = value;
}