updated README.md

This commit is contained in:
pichillilorenzo 2019-03-15 03:30:57 +01:00
parent 219f079a9e
commit dec7e07979
1 changed files with 1 additions and 1 deletions

View File

@ -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]]
}); });