onCopy property
The handler for SemanticsAction.copy.
This is a request to copy the current selection to the clipboard.
TalkBack users on Android can trigger this action from the local context menu of a text field, for example.
Implementation
VoidCallback? get onCopy => _onCopy;
Implementation
set onCopy(VoidCallback? value) {
_addArgumentlessAction(SemanticsAction.copy, value!);
_onCopy = value;
}