Clipboard class abstract final

Utility methods for interacting with the system's clipboard.

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getData(String format) Future<ClipboardData?>
Retrieves data from the clipboard that matches the given format.
hasStrings() Future<bool>
Returns a future that resolves to true, if (and only if) the clipboard contains string data.
setData(ClipboardData data) Future<void>
Stores the given clipboard data on the clipboard.

Constants

kTextPlain → const String
Plain text data format string.