onPaste property

VoidCallback onPaste

The handler for SemanticsAction.paste.

This is a request to paste the current content of the clipboard.

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

Implementation

VoidCallback get onPaste => _onPaste;
void onPaste= (VoidCallback value)

Implementation

set onPaste(VoidCallback value) {
  _addArgumentlessAction(SemanticsAction.paste, value);
  _onPaste = value;
}