-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to load a new url in WebviewScaffold? #98
Comments
I'm facing the same problem. I have buttons in the bottomNavigationBar that open a new activity. To make that activity visible I had to call webView.close(), but I don't see how I can reopen the webView() when I return to the WebviewScaffold activity. |
Looks like |
I don't know if it's correct, but I'm doing this way (I know this is by far not the best way to make this work properly, but it's working now):
_flutterWebView is FlutterWebviewPlugin. |
Try to use |
Hi,
I don't get it how to load a new url when using
WebviewScaffold
. I put some IconButton in the appBar.actions, but what to do there?I tried
But all three ways did not work.
setState did not reload a new URL. Only launch throws an error
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
And the close/launch idea made the webview fullscreen over the appBar.Is there a solution?
The text was updated successfully, but these errors were encountered: