Commit dec7e079 authored by pichillilorenzo's avatar pichillilorenzo

updated README.md

parent 219f079a
...@@ -750,7 +750,7 @@ class _MyAppState extends State<MyApp> { ...@@ -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]]
}); });
......
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