Overview
connectivity_control is a Flutter plugin that provides detailed insights into active network interfaces on Android and iOS devices. It enables developers to check internet connectivity status, validate network availability, monitor data usage (metering), and assess bandwidth performance. The plugin offers real-time updates and low-level access to network interface details, making it ideal for apps requiring robust network awareness. It supports both platforms and integrates seamlessly with existing Flutter projects via a simple pub add command.
Use cases
- Real-time network monitoring
- Bandwidth-aware app behavior
- Data usage tracking
- Network validation before API calls
- Offline mode detection
Key features
- Active network interface inspection
- Internet capability detection
- Data metering support
- Bandwidth estimation
- Cross-platform compatibility
Suitable for
- Apps needing network reliability
- Data-sensitive applications
- Offline-first architectures
- Network diagnostics tools
- Performance optimization
Considerations
- Requires platform-specific permissions
- Limited to Android and iOS
- May require background execution setup
- Depends on system-level network APIs
- Not suitable for low-level network configuration