getClipboardHtml static method
Return HTML 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.
The HTML can be platform-dependent.
Returns null
if the HTML content is not available or if the user has not granted
permission for pasting (on some platforms such as iOS).
Currently only supports Android, iOS, macOS, Windows, Linux, and the Web.
Implementation
static Future<String?> getClipboardHtml() => _platform.getClipboardHtml();