Comments (3)
with the last version (0.1.0
) you can use WebviewScaffold
, onUrlChanged
and evalJavascript
.
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
from flutter_webview_plugin.
Cool, thank you for your answer.
from flutter_webview_plugin.
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.
What is the correct way to do this?
from flutter_webview_plugin.
Related Issues (20)
- Download a static file by href, on post request or XMLHttpRequest
- No option to change font size of html content inside webview
- 使用flutter_webview_plugin dialog侧边划出控件均被webview遮住
- Is there anybody use FirebaseMessaging.onBackgroundMessage with javascript channel ?
- 在安卓13中报错,注释掉这个就可以了。 HOT 2
- Is it possible to load and display Three.js content in Flutter Web Application ?
- WARNING: This version of flutter_webview_plugin will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated. HOT 3
- 2222
- deprecated version
- IOS goes to live broadcast instead of camera on video recording
- Download File feature in webview is long overdue now
- this plugin is deprecated and use plugin migration HOT 8
- Build failed on Android Target SDK 33 HOT 1
- How to set user agent as Microsoft Edge ? HOT 1
- Not able to Import the package
- The iOS and Android execution returns are inconsistent
- Using WebviewScaffold to load URLs doesn't work in iOS
- Android webview error
- different roots error: :flutter_webview_plugin:compileDebugUnitTestSources
- deprecated version for flutter dart version 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_webview_plugin.