getClipboardImage method

  1. @Category(['Clipboard'])
Future<Uint8List?> getClipboardImage()

Returns the copied image from the system 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, it's not supported on Windows.

Implementation

@Category(['Clipboard'])
Future<Uint8List?> getClipboardImage() => _platform.getClipboardImage();