FLUTTER ECOSYSTEM

flutter_network_connectivity

A Flutter Plugin to check for live network connectivity status. Plugin uses NetworkCapabilities for Android and NetworkMonitor for iOS.

flutter_network_connectivity cover
Latest version
0.0.6
30-day downloads
221
Likes
43
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter plugin that enables real-time monitoring of network connectivity status on Android and iOS devices. It leverages native system APIs—NetworkCapabilities on Android and NetworkMonitor on iOS—to provide accurate, up-to-date information about whether a device is connected to the internet. The plugin is lightweight and designed for seamless integration into apps requiring network awareness, such as those needing to adapt behavior based on connection availability. It supports both Wi-Fi and mobile data detection and emits events when connectivity changes occur.

Use cases
  • Real-time network status checks
  • Offline mode handling
  • Dynamic UI updates based on connectivity
  • Background connectivity monitoring
  • App resilience during network fluctuations
Key features
  • Cross-platform support (Android & iOS)
  • Uses native system APIs for accuracy
  • Real-time connectivity event emission
  • Lightweight and easy to integrate
  • Supports Wi-Fi and mobile data detection
Suitable for
  • Apps requiring network awareness
  • Offline-capable applications
  • Background service integrations
  • User experience optimization based on connectivity
  • Developers seeking reliable connectivity checks
Considerations
  • Requires platform-specific permissions
  • May not detect all edge cases like captive portals
  • Limited to connectivity status, not bandwidth or quality
  • Depends on native implementation stability
  • No built-in retry logic for failed connections
Supported platformsAndroidiOS

Install package

flutter pub add flutter_network_connectivity

Categories

Source repository

Related projects

No data available yet.