statehub 0.1.0 copy "statehub: ^0.1.0" to clipboard
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 atom
  • AsyncHub<T> — async state with loading/data/error
  • CacheHub<T> — offline-first with 5 cache strategies
  • AsyncValue<T> — sealed type for async states
  • HubScope — context-free dependency injection
  • Flutter widgets: HubBuilder, AsyncHubBuilder, MultiHubBuilder, HubListener
  • HubScopeProvider + HubScopeChild
0
likes
120
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)

Topics

#state-management #reactive #offline-first #async #flutter

License

MIT (license)

Dependencies

flutter

More

Packages that depend on statehub