solid_x 2.0.3 copy "solid_x: ^2.0.3" to clipboard
solid_x: ^2.0.3 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.

2.0.3 #

  • Major Redesign: Solid is now a StateFlow/ViewModel pattern library.
  • Added: SolidViewModel<S> – single-state ViewModel base class with emit(S).
  • Added: SolidConsumer<T> – combines SolidBuilder and SolidListener in one widget.
  • Removed: Granular state management (SolidState, Mutation, Solid base class).
  • Simplified: The widget API (SolidProvider, SolidBuilder, SolidListener) now supports any ChangeNotifier.
  • Updated: Added context.solid<T>() extension for easy ViewModel lookup.

1.0.0 #

  • Initial release.
  • Granular state management with SolidState<T> and Mutation<T>.
  • Solid abstract base class with auto-disposal.
  • 8 widget variants for state and mutations.
1
likes
0
points
290
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on solid_x