ImageClipboardWeb class
- Inheritance
-
- Object
- ImageClipboard
- ImageClipboardWeb
Constructors
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
-
addWebPasteListener(
WebImageCallback onWebImage) → void -
Add a paste event listener for the Web platform.
inherited
-
copyImage(
String imagePath) → Future< void> -
Copies the image located at
imagePath
to the clipboard.override -
getPlatformVersion(
) → Future< String?> -
inherited
-
handleMethodCall(
MethodCall call) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readImage(
{required String imageSaveDirectory, required String imageFileName}) → Future< File?> -
Reads an image from the clipboard and saves it to the specified directory with the given file name.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void