搜尋套件、儲存庫與 APP 分類

套件詳情v6.3.3

url_launcher

用於啟動 URL 的 Flutter 插件。支援網頁、電話、簡訊和電子郵件協定。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
931萬
喜歡數
8190
Pub 分數
160

安裝套件

flutter pub add url_launcher

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

url_launcher 套件讓 Flutter 應用程式能在外部應用程式中開啟 URL,支援網頁連結、電話號碼、簡訊與電子郵件。它提供簡單的介面,使用平台特定的方案來啟動 URL,確保在 Android、iOS、Web、macOS、Windows 與 Linux 上無縫整合。該外掛會處理 URL 驗證,並將使用者導向適當的應用程式,例如瀏覽器、撥號器或郵件客戶端。非常適合在應用程式內分享內容、發起通話、傳送訊息,或導航至外部網站。

適用情境

  • 在瀏覽器中打開網頁連結
  • 發起電話呼叫
  • 發送簡訊訊息
  • 撰寫電子郵件
  • 透過連結分享內容
  • 重定向到外部資源

主要特色

  • 支援多種 URL 方案
  • 跨平台相容性
  • 用於啟動URL的簡單API
  • 自動處理平台特定的意圖
  • 安全的 URL 解析
  • 內建錯誤處理

適合對象

  • 需要外部導航的應用
  • 聯絡與通訊功能
  • 內容共享工具
  • 使用者支援和反饋系統
  • 電子商務和行銷連結
  • 行動應用程式中的網路整合

使用建議

  • 需要正確的 URL 格式
  • 可能會觸發系統權限提示
  • 對啟動的應用程式行為控制有限
  • 未經設定,無法與自訂 URL 方案搭配使用
  • 與不受信任的URL相關的潛在安全風險
  • 連結點擊沒有內建分析功能

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter Packages

Release Status Flutter CI Status

This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages directory to see all packages.

These packages are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled "package".

Contributing

If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.

Packages

These are the packages hosted in this repository:

Package Pub Points Usage Issues Pull requests
animations pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
camera pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cross_file pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_icons pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
espresso pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
extension_google_sign_in_as_googleapis_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
file_selector pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_lints pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_plugin_android_lifecycle pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg_test pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router_builder pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_adsense pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_fonts pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_maps_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_sign_in pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
image_picker pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
interactive_media_ads pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
in_app_purchase pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
local_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
material_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
metrics_center pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_parsing pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_provider pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pigeon pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pointer_interceptor pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
plugin_platform_interface pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
quick_actions pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_identity_services_web pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
rfw pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
shared_preferences pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
two_dimensional_scrollables pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
url_launcher pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_codec pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_compiler pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
video_player pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
web_benchmarks pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
webview_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
xdg_directories pub package pub points downloads GitHub issues by-label GitHub pull requests by-label

所屬分類

依賴

依賴清單 7 項

  • url_launcher_android^6.3.0
  • url_launcher_ios^6.2.4
  • url_launcher_linux^3.1.0
  • url_launcher_macos^3.1.0
  • url_launcher_platform_interface^2.3.0
  • url_launcher_web^2.2.0
  • url_launcher_windows^3.1.0

原始碼儲存庫

使用此套件的專案

所在榜單