loadHtmlString method
Loads the supplied HTML string.
The baseUrl
parameter is used when resolving relative URLs within the
HTML string.
Implementation
Future<void> loadHtmlString(String html, {String? baseUrl}) {
assert(html.isNotEmpty);
return platform.loadHtmlString(html, baseUrl: baseUrl);
}