Commit 3ceff9b0 authored by omralcorut's avatar omralcorut

Fix injectStyleFile name to injectCSSFileFromUrl

parent eaad17eb
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment