updated README.md
This commit is contained in:
parent
219f079a9e
commit
dec7e07979
|
@ -750,7 +750,7 @@ class _MyAppState extends State<MyApp> {
|
||||||
super.initState();
|
super.initState();
|
||||||
|
|
||||||
// listen for post messages coming from the JavaScript side
|
// listen for post messages coming from the JavaScript side
|
||||||
int indexTest = inAppBrowser.webViewController.addJavaScriptHandler("handlerNameTest", (arguments) async {
|
inAppBrowser.webViewController.addJavaScriptHandler("handlerNameTest", (arguments) async {
|
||||||
print("handlerNameTest arguments");
|
print("handlerNameTest arguments");
|
||||||
print(arguments); // it prints: [1, 5, string, {key: 5}, [4, 6, 8]]
|
print(arguments); // it prints: [1, 5, string, {key: 5}, [4, 6, 8]]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue