Skip to content
pubscout

flutter_network_capabilities

0.0.3, released 5 months ago by nubank.dev

Monitors network capabilities like bandwidth and signal strength on Android and iOS.

WASM-ready
$ flutter pub add flutter_network_capabilities
Source repository

What it does

Provides runtime information about the current network such as upstream/downstream bandwidth, signal strength, and transport type. Works on Android (API 29+) and iOS, exposing the data through a simple Dart API.

AI-written summary of version 0.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to adapt UI or logic based on actual network quality
  • Debugging or logging real‑time network characteristics
  • Building apps that react to changes in Wi‑Fi vs cellular connectivity

Skip it when

  • You only need high‑level connectivity status (online/offline)
  • You require cross‑platform networking without native code
  • You need extensive streaming or bandwidth management features

Strengths

  • Exposes detailed low‑level network metrics
  • Supports both Android and iOS platforms
  • Handles iOS main‑thread blocking issue

Weaknesses

  • Limited to Android Q+ for full feature set
  • iOS support provides only basic info
  • Requires native configuration and permissions

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

Add required permissions (e.g., ACCESS_NETWORK_STATE) to AndroidManifest.xml and appropriate keys to iOS Info.plist; ensure the plugin is registered in the host app.

FlutterNetworkCapabilities flutterNetworkCapabilitiesPlugin = FlutterNetworkCapabilities();
final info = await flutterNetworkCapabilitiesPlugin.getNetworkInfo();
debugPrint(info);

Alternatives

Packages that do the same job and could replace flutter_network_capabilities.

Works with

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