copyHtmlToClipboard method

  1. @Category(['Clipboard'])
Future<void> copyHtmlToClipboard(
  1. String html
)

Copies an HTML to the system clipboard to be pasted on other apps.

Important for web: Should fallback to Clipboard Events if Clipboard API is unsupported, not available or restricted (the case for Firefox and Safari). See copy_event.

Implementation

@Category(['Clipboard'])
Future<void> copyHtmlToClipboard(String html) =>
    _platform.copyHtmlToClipboard(html);