ClipboardEvents class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerCopyEventListener(
void listener(ClipboardWriteEvent)) → void - Registers a listener for copy event (triggered through Ctrl/Cmd + C or browser menu action).
-
registerCutEventListener(
void listener(ClipboardWriteEvent)) → void - Registers a listener for cut event (triggered through Ctrl/Cmd + X or browser menu action).
-
registerPasteEventListener(
void listener(ClipboardReadEvent)) → void - Registers a listener for paste event (triggered through Ctrl/Cmd + V or browser menu action).
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterCopyEventListener(
void listener(ClipboardWriteEvent)) → void - Unregisters a listener for copy event previously registered with registerCopyEventListener.
-
unregisterCutEventListener(
void listener(ClipboardWriteEvent)) → void - Unregisters a listener for cut event previously registered with registerCutEventListener.
-
unregisterPasteEventListener(
void listener(ClipboardReadEvent)) → void - Unregisters a listener for paste event previously registered with registerPasteEventListener.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ClipboardEvents?
-
Returns clipboard events instance if available on current platform.
This is only supported on web, on other platforms use SystemClipboard.instance
to access the clipboard.
no setter