Skip to content
pubscout

network_info_plus

8.2.2, released 7 weeks ago by fluttercommunity.dev

Flutter plugin for discovering network and WiFi details.

Flutter Favorite
$ flutter pub add network_info_plus
Source repository

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.

Works with

Packages commonly used together with network_info_plus: ones it builds on, ones built on it, and its own family.