fluttercommunity/flutter_webview_plugin

_onStateChanged listener is only once?

Open

#42 opened on Mar 4, 2018

View on GitHub
 (3 comments) (7 reactions) (0 assignees)Java (1,457 stars) (919 forks)batch import
bughelp wanted

Description

I wrote the example. https://pub.dartlang.org/packages/flutter_webview_plugin#-example-tab-

I pushed "Open widget webview" button. The example show log text onStateChanged: WebViewState.startLoad and onStateChanged: WebViewState.finishLoad in the bottom.

I pushed "Open widget webview" button again, but it didn't show log text again. Why only once?

I just want to do is that call JS when WebviewScaffold's url finish.

Contributor guide