-2

I build flutter app with just webview to show my website , i need to access to specific method in flutter app from javascript , Ex: to show some dialog in app .

1 Answers1

1

Depending on the WebViewExample plugin you're using, you'll need to use JavascriptChannel.

You can find more here

UPDATE

Since the OP is using flutter_inappwebview, thiscontains all the information to use Javascript channels with the plugin.

magicleon94
  • 4,887
  • 2
  • 24
  • 53