Clipboard 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
-
addListener(
FutureOr< void> callback(ClipboardEvent)) → ListenerId -
Registers
callbackfor everyClipboardEventthisClipboardemits. -
clear(
) → bool -
isChangeMonitoringSupported(
) → bool -
isMonitoring(
) → bool -
isSupported(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
void callback(bool, ClipboardData)) → void -
readAsync(
) → Future< ClipboardData> -
readFilePaths(
void callback(bool, List< String> )) → void -
readFilePathsAsync(
) → Future< List< String> > -
readHtml(
void callback(bool, String?)) → void -
readHtmlAsync(
) → Future< String?> -
readImage(
void callback(bool, Image?)) → void -
readImageAsync(
) → Future< Image?> -
readText(
void callback(bool, String?)) → void -
readTextAsync(
) → Future< String?> -
removeListener(
ListenerId listenerId) → bool - Unregisters a listener. Returns false if unknown.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
ClipboardData data) → bool -
writeFilePaths(
List< String> filePaths) → bool -
writeHtml(
String html) → bool -
writeImage(
Image? image) → bool -
writeText(
String text) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited