【发布时间】:2020-06-14 17:25:49
【问题描述】:
我想在 URL 更改时自动关闭 Web-View。这是我用来在 Flutter Android Application 中打开 web-view 的代码。
GestureDetector(
child: WebviewScaffold(
url: webUrl,
withJavascript: true,
withLocalStorage: true,
persistentFooterButtons: <Widget>[
RaisedBtn(
onPressed: (){
Screen();
flutterWebviewPlugin.dispose();
},
text: "Confirm",
)
],
),
),
【问题讨论】:
-
我认为这里接受的答案会对你有所帮助:) stackoverflow.com/questions/51541258/…
-
我认为这里接受的答案会对您有所帮助:) stackoverflow.com/questions/51541258/…
-
我认为接受的答案会对你有所帮助:) stackoverflow.com/questions/51541258/…
标签: java android flutter native