statehub 0.1.0
statehub: ^0.1.0 copied to clipboard
Zero-boilerplate reactive state for Dart & Flutter. Context-free, offline-first with 5 cache strategies, sealed async types, and built-in dependency injection. No external dependencies for core.
0.1.0 #
- Initial release
Hub<T>— reactive atomAsyncHub<T>— async state with loading/data/errorCacheHub<T>— offline-first with 5 cache strategiesAsyncValue<T>— sealed type for async statesHubScope— context-free dependency injection- Flutter widgets:
HubBuilder,AsyncHubBuilder,MultiHubBuilder,HubListener HubScopeProvider+HubScopeChild