flutter_network_watcher 0.0.1
flutter_network_watcher: ^0.0.1 copied to clipboard
Real-time network connectivity monitoring with offline queue management for Flutter applications. Seamless state tracking and automatic request queuing.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1 - 2024-01-20 #
Added #
- Initial release of flutter_network_watcher
- Real-time network connectivity monitoring
- Offline queue management system
- Automatic request queuing during offline periods
- Network state change notifications
- Persistent queue storage using SharedPreferences
- RxDart streams for reactive programming
- Comprehensive error handling
- Support for custom retry policies
- Background network monitoring
- Flutter plugin architecture for platform-specific implementations
Features #
- NetworkWatcher: Core class for monitoring network connectivity
- OfflineQueue: Queue management for offline requests
- NetworkRequest: Model for queued network requests
- ConnectivityState: Enum for network connection states
- NetworkWatcherConfig: Configuration options for the network watcher
- Stream-based API: Reactive programming with RxDart
- Persistent Storage: Automatic queue persistence across app sessions
- Retry Mechanism: Configurable retry policies for failed requests
- Platform Support: Android and iOS compatibility
Documentation #
- Comprehensive API documentation
- Usage examples and code samples
- Integration guide for Flutter applications
- Migration guide for existing network implementations