rivertion 3.0.0 copy "rivertion: ^3.0.0" to clipboard
rivertion: ^3.0.0 copied to clipboard

A Flutter state management library that bridges the gap between traditional state holders (like `ValueNotifier`, `ChangeNotifier`, and `Bloc`) and a modern, reactive consumption model inspired by Riverpod.

3.0.0 #

BREAKING: Complete rewrite of the library.

  • Introduced a new core concept: Source, a unified reactive stream for state consumption.
  • Replaced previous state management approach with SourceWidget and SourceBuilder for a consistent, Riverpod-inspired API.

Added

  • From Listenable to Source: Convert any Listenable (e.g., ValueNotifier, ChangeNotifier) into a reactive Source using .source and .sourceBy() extensions.
  • Code Generation: Added a command-line tool to generate boilerplate for interoperability with popular packages.
  • Bloc Support: Added generated code to convert Bloc and Cubit instances into a Source for consumption in SourceBuilder.
  • Riverpod Interop: Added generated SourceConsumerWidget to use Riverpod providers inside a SourceWidget.
  • Reactive Forms Interop: Added generated extensions to bind Sources to reactive_forms controls.
  • Standalone State: Included SourceController for simple, self-contained state management.
2
likes
0
points
199
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter state management library that bridges the gap between traditional state holders (like `ValueNotifier`, `ChangeNotifier`, and `Bloc`) and a modern, reactive consumption model inspired by Riverpod.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, flutter, meta

More

Packages that depend on rivertion