onPaste property

(void Function()?) onPaste
getter/setter pair

Called whenever text is pasted into the rich text field. This will not be called when text is pasted into the code view editor.

Note: This will not be called when programmatically inserting HTML into the editor with HtmlEditor.insertHtml.

Implementation

void Function()? onPaste;