-
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
I hope to increase the way to get the title of the web page #30
Comments
with the last version ( flutterWebviewPlugin.onUrlChanged.listen((url) async {
webviewTitle = await flutterWebviewPlugin.evalJavascript("window.document.title");
setState(() => {});
});
...
new WebviewScaffold(
url: "https://www.google.com",
appBar: new AppBar(
title: new Text(webviewTitle),
),
); let me know if you get any problems, either way I will close the issue |
Cool, thank you for your answer. |
I'm a little confused by this, I can get the webviewscaffold to work with a bottomnavigationbar when it is returned directly in my build method. However, I have made some alterations to my app so I now have a listview of flatbuttons which act as my ebook's contents page. When the user clicks a list item I'd like it to open the webview with a bottomnavigationbar so they can navigate the book and also return to the listview. |
I hope to increase the way to get the title of the web page. Under normal circumstances, the appbar title should display the title of the page
The text was updated successfully, but these errors were encountered: