Fix injectStyleFile name to injectCSSFileFromUrl
This commit is contained in:
parent
eaad17eb4f
commit
3ceff9b0d7
|
@ -1397,7 +1397,7 @@ class InAppWebViewController {
|
|||
Future<void> injectCSSFileFromUrl({@required String urlFile}) async {
|
||||
Map<String, dynamic> args = <String, dynamic>{};
|
||||
args.putIfAbsent('urlFile', () => urlFile);
|
||||
await _channel.invokeMethod('injectStyleFile', args);
|
||||
await _channel.invokeMethod('injectCSSFileFromUrl', args);
|
||||
}
|
||||
|
||||
///Injects a CSS file into the WebView from the flutter assets directory.
|
||||
|
|
Loading…
Reference in New Issue