getHtmlText method

  1. @override
Future<String?> getHtmlText()

Get Clipboard content as Html Text, this is platform specific and not the same as getPlainText for two reasons:

  1. The user might want to paste Html text
  2. Copying Html text from other apps and use getPlainText will ignore the Html content and provide it as text

Implementation

@override
Future<String?> getHtmlText() {
  return _provideSimpleValueFormatAsString(format: Formats.htmlText);
}