solid_x 2.0.2
solid_x: ^2.0.2 copied to clipboard
Inspired by Kotlin's `ViewModel + StateFlow` pattern, Solid provides a clean architecture to manage your application's state with zero code generation and zero boilerplate. Under the hood, **Solid is [...]
2.0.2 #
- Major Redesign: Solid is now a StateFlow/ViewModel pattern library.
- Added:
SolidViewModel<S>– single-state ViewModel base class withemit(S). - Added:
SolidConsumer<T>– combinesSolidBuilderandSolidListenerin one widget. - Removed: Granular state management (
SolidState,Mutation,Solidbase class). - Simplified: The widget API (
SolidProvider,SolidBuilder,SolidListener) now supports anyChangeNotifier. - Updated: Added
context.solid<T>()extension for easy ViewModel lookup.
1.0.0 #
- Initial release.
- Granular state management with
SolidState<T>andMutation<T>. Solidabstract base class with auto-disposal.- 8 widget variants for state and mutations.