SystemClipboard class

Implemented types

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
read() Future<ClipboardReader>
Reads clipboard contents. Note that on some platforms accessing clipboard may trigger a prompt for user to confirm clipboard access. This is the case on iOS and web.
toString() String
A string representation of this object.
inherited
write(Iterable<DataWriterItem> items) Future<void>
Writes the content of the items to the clipboard.
override

Operators

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

Static Properties

instance SystemClipboard?
Returns the shared clipboard instance if available on the current platform. Clipboard API is available on all platforms except Firefox, where it is disabled by default. If clipboard is not available, you can still use the ClipboardEvents API.
no setter