onPasteEvent property
Optional callback to intercept paste events before they are routed to the focused layer. If this returns true, the event is consumed and not propagated.
Implementation
bool Function(PasteEvent event)? onPasteEvent;
Optional callback to intercept paste events before they are routed to the focused layer. If this returns true, the event is consumed and not propagated.
bool Function(PasteEvent event)? onPasteEvent;