You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My setup uses two WebviewScaffolds with different urls in such a way that Flutter will not rebuild the WebviewScaffold widget but simply change the properties. Neither initState nor dispose is called and therefore the plugin will not notice that the URL has been changed. Please also implement didUpdateWidget to deal with that fact.
The implementation below seems to work but I don't know whether it is okay to simply copy the rather longish call from build. I tried to call webviewReference.reloadUrl but that didn't work.
My setup uses two
WebviewScaffold
s with differenturl
s in such a way that Flutter will not rebuild theWebviewScaffold
widget but simply change the properties. NeitherinitState
nordispose
is called and therefore the plugin will not notice that the URL has been changed. Please also implementdidUpdateWidget
to deal with that fact.The implementation below seems to work but I don't know whether it is okay to simply copy the rather longish call from
build
. I tried to callwebviewReference.reloadUrl
but that didn't work.The text was updated successfully, but these errors were encountered: