setClipboardData method

Future<bool> setClipboardData(
  1. Map<String, String> params
)

Writes the provided text to the clipboard asynchronously.

Parameters:

  • params: Map<String, String> containing the clipboard data.
    • 'plainText': String containing the plain text to write to the clipboard.
    • 'htmlText': String containing the html text to write to the clipboard.

Returns:

  • Future

Implementation

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