Clipboard class abstract

Provides read and write access to the system clipboard.

See: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard

Implemented types

Constructors

Clipboard()

Properties

hashCode int
The hash code for this object.
no setterinherited
raw → dynamic
The underlying platform object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? callback) → void
Registers an event listener on this target.
inherited
dispatchEvent(Event event) bool
Dispatches an event to this target.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readText() Future<String>
Reads text from the system clipboard.
removeEventListener(String type, EventListener? callback) → void
Removes a previously registered event listener.
inherited
toString() String
A string representation of this object.
inherited
writeText(String data) Future<void>
Writes text to the system clipboard.

Operators

operator ==(Object other) bool
The equality operator.
inherited