getClipboardImage static method

Future<Uint8List?> getClipboardImage()

Return the copied image from the Clipboard.

Important for web: If Clipboard API is not supported on the web browser, should fallback to Clipboard Events such as the paste_event.

Currently only supports Android, iOS, macOS, Linux, and the Web.

Implementation

static Future<Uint8List?> getClipboardImage() =>
    _platform.getClipboardImage();