loadHtmlString method
Loads the supplied HTML string.
The baseUrl
parameter is used when resolving relative URLs within the
HTML string.
Implementation
@override
Future<void> loadHtmlString(String html, {String? baseUrl}) {
return webView.loadDataWithBaseUrl(
baseUrl: baseUrl,
data: html,
mimeType: 'text/html',
);
}