network_info_plus 是一個 Flutter 插件,可讓應用程式在多個平台取得詳細的網路資訊,例如 Wi-Fi SSID、IP 位址和連線狀態。它提供 Android、iOS、Web、macOS、Windows 和 Linux 的統一 API,方便檢測和回應網路狀況。此外,該插件非常適合需要網路診斷、連線檢查或與 Wi-Fi 網路相關的位置服務之應用程式。由 Flutter Community 維護,設計上注重可靠性與跨平台一致性。
適用情境
網路診斷
Wi-Fi連接監控
基於位置的應用程式功能
離線模式檢測
根據網路類型的應用行為
設備連接狀態檢查
主要特色
跨平台支援
Wi-Fi SSID 和 IP 獲取
連接狀態檢測
簡單 API
來自 Flutter 社區的定期更新
平台特定的數據訪問
適合對象
開發網路感知應用程式的開發者
需要Wi-Fi詳細資訊的應用
用於故障排除連接性的工具
跨平台網路工具
具有離線功能的應用程式
使用建議
需要平台特定的權限(例如,Android 的 ACCESS_FINE_LOCATION)
由於瀏覽器限制,網頁端功能受限
隱私敏感數據訪問
並非所有平台在所有情境中皆可使用
可能需要使用者同意才能存取位置資訊
行為在不同平台之間略有差異
原始 README
以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。
Plus plugins
PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed
as a part of Flutter plugins, with extra functionalities,
support for more platforms and better maintenance.
Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.
Plugin issues that are not specific to PlusPlugins can be filed in the Flutter issue tracker.
Contributing
If you wish to contribute a change to any of the existing plugins in this repo,
please review our contribution guide
and open a pull request.
Status
This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.