setOnPasteFromMenu abstract method

void setOnPasteFromMenu(
  1. Future<bool> callback()?
)

Sets the callback that will be invoked when the Paste menu item is selected.

The callback should return a Future that completes with true if the operation was handled, or false to allow the default system behavior.

Set to null to restore the default system behavior.

Implementation

void setOnPasteFromMenu(Future<bool> Function()? callback);