搜索插件、代码仓与 APP 分类

插件详情v8.2.2

network_info_plus

用于发现网络信息(例如 WiFi 详细信息)的 Flutter 插件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
35.3万
喜欢数
796
Pub 分数
150

安装插件

flutter pub add network_info_plus

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

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

build

all_plugins GitHub Workflow Status Follow on Twitter


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.

Feedback and Pull Requests are most welcome!

Plugins

Table of contents:


battery_plus

battery_plus pub points

Flutter plugin for accessing information about the battery state (full, charging, discharging) on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

connectivity_plus

connectivity_plus pub points

Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

device_info_plus

device_info_plus pub points

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

network_info_plus

network_info_plus pub points

Flutter plugin for discovering network info.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ❌ ✅ ✅

package_info_plus

package_info_plus pub points

Flutter plugin for querying information about the application package, such as CFBundleVersion on iOS or versionCode on Android.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

sensors_plus

sensors_plus pub points

Flutter plugin for accessing accelerometer, gyroscope, magnetometer and barometer sensors.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ❌ ✅ ❌ ❌

share_plus

share_plus pub points

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

[readme] [code]

Platform Support
Android iOS macOS Web Linux Windows
✅ ✅ ✅ ✅ ✅ ✅

android_alarm_manager_plus

android_alarm_manager_plus pub points

Flutter plugin for accessing the Android AlarmManager service, and running Dart code in the background when alarms fire.

[readme] [code]

Platform Support
Android
✅

android_intent_plus

android_intent_plus pub points

Flutter plugin for launching Android Intents. Not supported on iOS.

[readme] [code]

Platform Support
Android
✅

Issues

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.

所属分类

依赖

依赖清单 6 项

源码仓库

使用此插件的项目

所在榜单