gt_network 1.0.0
gt_network: ^1.0.0 copied to clipboard
A production-ready Flutter network connectivity manager with automatic retry, lifecycle management, quality detection, and customizable no-internet overlays.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 - 2025-12-27 #
Added #
ConnectivityManager- Singleton network connectivity manager- Real internet verification via DNS lookups
- Multiple DNS fallbacks (Google, Cloudflare, 1.1.1.1)
- Connection quality detection (excellent/good/fair/poor)
- Heartbeat checks with configurable intervals
- App lifecycle management (pause in background)
- Simulator/emulator detection with aggressive mode
ConnectivityListener- Global widget for connectivity overlays- Automatic no-internet overlay display
- Customizable overlay appearance
ConnectivityAwareWidget- Page-level connectivity handlingonConnectedandonDisconnectedcallbacks- Custom no-internet widget support
NoInternetScreen- Pre-built no-internet UI widgetConnectivityInfo- Rich connectivity data objectConnectivityExtension- Easy context access (context.isOnline)NavigationService- Global navigator key for overlay management