onCut property

VoidCallback 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.


VoidCallback get onCut => _onCut;
void onCut= (VoidCallback value)


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