getClipboardData method

Future<Map<String, String>?> getClipboardData()

get clipboard data from the clipboard asynchronously.

Returns:

  • Future<Map<String, String>?>: a Map containing the clipboard data.
    • 'plainText': String containing the plain text from the clipboard.
    • 'htmlText': String containing the html text from the clipboard.

Implementation

Future<Map<String, String>?> getClipboardData() async {
  throw UnimplementedError('getClipboardData() has not been implemented.');
}