States Rebuilder is an easy flutter state management solution that allows for clear and sharp separation of concern between the user interface (UI) logic and the business logic. The separation is clear and sharp to the point that the business logic is written with pure, vanilla, plain old dart classes without extending any external library-specific classes and without annotation or code generation.
With States_rebuilder
, you can easily:
-
Manage / Refactor the Immutable and Mutable state without affecting your UI code.
-
Work with Future and Stream, it's "hot pluggable", without affecting your UI code.
-
Achieve injected dependencies asynchronously (no Provider needed).
-
Invoke side effects without ❌
BuildContext
, like Dialogs, Navigate, SnackBars, and many others. -
Persist state to localStorage and restore it when the application is restarted.
-
Override the state for a particular widget tree branch (Widget-aware state).