Clipboard class abstract final

Clipboard and copy helpers.

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

clear() → Future<void>
Clears the clipboard.
copy(BuildContext context, String text, {String? label}) → Future<void>
Copies text to the clipboard and shows a confirmation snackbar.
copySilent(String text) → Future<void>
Copies text silently without any feedback.
read() → Future<String?>
Reads the current clipboard text.