syncache_flutter 0.1.0
syncache_flutter: ^0.1.0 copied to clipboard
Flutter integration for Syncache - lifecycle management, widgets, and connectivity detection.
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 - 2026-03-14 #
Added #
SyncacheScope- InheritedWidget for dependency injection of cache instancesMultiSyncacheScope- Helper for providing multiple cache types without deep nestingCacheBuilder- StreamBuilder-style widget for reactive cache data displayCacheConsumer- Consumer pattern widget with separate listener callbackSyncacheLifecycleObserver- App lifecycle and reconnect handling- Automatic refetch on app resume (configurable minimum pause duration)
- Automatic refetch on connectivity restoration
FlutterNetwork- Connectivity detection usingconnectivity_plus- Debounced connectivity change events
- Concurrent initialization handled via Completer pattern
SyncacheValueListenable- ValueListenable wrapper for use with ValueListenableBuilderLifecycleConfig- Configuration class for lifecycle behavior customization