auto_refresh_on_reconnect 0.1.0
auto_refresh_on_reconnect: ^0.1.0 copied to clipboard
A lightweight Flutter package that automatically refreshes widgets when internet connection is restored.
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.1.0 - 2025-11-09 #
Added #
- Initial release of auto_refresh_on_reconnect package
AutoRefreshOnReconnectwidget for automatic refresh on reconnectionAutoRefreshOnReconnectBuilderfor builder-based data fetchingConnectivityServicefor real internet verification- Debouncing support to prevent rapid re-triggers
- Custom offline UI support via
offlineBuilder - Comprehensive test suite
- Example app demonstrating all features
- Full documentation and API reference
Features #
- Real internet access verification using HTTP HEAD requests
- State-management agnostic design
- Customizable debounce duration
- Extensible connectivity service for custom implementations
- Null-safe implementation
- Works with Provider, Bloc, Riverpod, and other state management solutions