network_info_plus
8.2.2, released 7 weeks ago by fluttercommunity.dev
Flutter plugin for discovering network and WiFi details.
What it does
Allows Flutter apps to discover network information such as WiFi name, BSSID, IP address, IPv6, submask, broadcast, and gateway IP. Supports Android, iOS, macOS, Linux, and Windows platforms.
AI-written summary of version 8.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to retrieve the current WiFi SSID or BSSID inside your app
- You need to know the device's local network IP configuration
Skip it when
- You are targeting the Web platform where network info is not supported
- You cannot meet platform-specific permission requirements for location or WiFi information
Strengths
- Cross-platform support covering Android, iOS, macOS, Linux, and Windows
- Part of the official fluttercommunity plus plugins set
Weaknesses
- Requires specific location and network state permissions on Android and iOS to fetch WiFi details
- iOS restricts WiFi SSID/BSSID retrieval unless specific conditions and entitlements are met
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 6
Requires platform-specific configuration such as location permissions on Android, and 'Access Wi-Fi information' entitlement and location usage descriptions on iOS.
import 'package:network_info_plus/network_info_plus.dart';
final info = NetworkInfo();
final wifiName = await info.getWifiName();
final wifiIP = await info.getWifiIP();Alternatives
Packages that do the same job and could replace network_info_plus.
- connectivity_plus
Discover the state of network connectivity (WiFi, mobile, ethernet) on Android, iOS, Web and desktops.
97Compare - package_info_plus
Flutter plugin to query app package info like version, build number and installer store.
93Compare - device_info_plus
Provides detailed information about the current device, make, model, and OS version.
93Compare - battery_plus
Access device battery level, state, and battery save mode across platforms.
93Compare
Works with
Packages commonly used together with network_info_plus: ones it builds on, ones built on it, and its own family.
- ffinetwork_info_plus depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- win32network_info_plus depends on itCall common Windows APIs and COM objects directly from Dart using FFI.
- nmnetwork_info_plus depends on itClient for interacting with Linux NetworkManager via D-Bus
- flutter_offlineBuilt on network_info_plusWidget to detect and display online/offline status in Flutter apps.
- unified_esc_pos_printerBuilt on network_info_plusUnified ESC/POS thermal printer package for USB, Bluetooth, BLE, and Network connections.
- raygun4flutterBuilt on network_info_plusOfficial Raygun crash reporting provider for Flutter applications.
- flutter_pos_printer_platform_image_3Built on network_info_plusCross‑platform plugin to discover printers and send ESC/POS byte commands via Bluetooth, USB or network.