I have updated the webview_flutter package to try out the new local html feature from the merge here.
The specific changes include 2 new functions, specifically loadFile and loadHtmlString as shown below:
@override
Future<void> loadFile(String absoluteFilePath) async {
assert(absoluteFilePath != null);
return _channel.invokeMethod<void>('loadFile', absoluteFilePath);
}
@override
Future<void> loadHtmlString(
String html, {
String? baseUrl,
}) async {
assert(html != null);
return _channel.invokeMethod<void>('loadHtmlString', <String, dynamic>{
'html': html,
'baseUrl': baseUrl,
});
}
For some reason I am not able to access these new functions (nor are they an option) with the updated package. Am I missing something?
I have updated the
webview_flutterpackage to try out the new local html feature from the merge here.The specific changes include 2 new functions, specifically
loadFileandloadHtmlStringas shown below:For some reason I am not able to access these new functions (nor are they an option) with the updated package. Am I missing something?