简体   繁体   English

如何使用 flutter 应用程序中的应用内浏览器打开 Url?

[英]How to open an Url using In-App Browser from a flutter application?

I am developing a flutter project and i want to open a Url using an in-app browser when a button in clicked.我正在开发一个 flutter 项目,我想在单击按钮时使用应用内浏览器打开一个 Url。 I don't want the browser to leave the flutter application.我不希望浏览器离开 flutter 应用程序。 What are the possible ways to do this?有哪些可能的方法来做到这一点?

Thank you in advance.先感谢您。

What you are looking for is called a Webview.您正在寻找的是一个 Webview。

Look at https://pub.dev/packages/webview_flutterhttps://pub.dev/packages/webview_flutter

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何收听 Flutter 应用内网页浏览器? - How to listen to the Flutter in-app web browser? 如何在应用内浏览器窗口中打开链接 - How to open a link in a in-app browser window 如何从 url 打开颤振应用程序? - How to open flutter application from url? 如何从 Flutter 应用程序打开应用程序? - How to open an application from a Flutter app? 无法通过 Flutter 应用程序打开浏览器 URL - unable to open a browser URL through flutter app 如何从任何 web 浏览器打开 flutter 应用程序? - How to open flutter app from any web browser? 如何从另一个应用程序打开 flutter 应用程序的特定页面? - How to open a specific page of a flutter application from another app? 有没有办法在应用程序中打开 URL 而不是 flutter 中的浏览器? - Is there any way to open an URL inside app instead of browser in flutter? 如何构建 FCM 推送通知以在 Flutter(Android 和 iOS)中的默认系统 Web 浏览器应用程序中打开指定的 URL - How to construct FCM push notification to open specified URL in default system web browser app in Flutter (Android & iOS) 如何使用自定义 URL 打开 flutter 应用程序? - How to make a flutter app to be open with a custom URL?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM