Is states_rebuilder the Best State Management? @tadaspetra
Is states_rebuilder the Best State Management?  @tadaspetra
Uploaded June 2020 | Updated September 2026, 2 weeks ago
Is states_rebuilder the Best State Management?

There's been a package that I have seen some people be very enthusiastic about. This package is states_rebuilder. I decided to take a look at and I was pleasantly surprised.
Here is what the author thinks sets states_rebuilder apart:
- business logic (bloc) is made 100% of simple dart classes.
- Bloc's methods can return any type (void, primitive, object, future or stream).
- Refactor a method to return any type without affecting the user interface code.
- Use immutable or mutable objects or mix them.
- Refactor to immutability (or mutability) without changing a single line in the UI code.
- Easily mange side effects (onSetState, onData, onError and onRenuildState).
- Inject dependencies asynchronously. (Even flavors can be injected asynchronously).

I also think having named Injectors is another big feature that sets this apart, at least from Provider.

Link to the Code: github.com/tadaspetra/states_rebuilder_examples/tree/master/basics

Links To State_Rebuilder resources:
https://pub.dev/packages/states_rebuilder
medium.com/flutter-community/state-management-gymnastics-using-states-rebuilder-part-1-3ba3a6abf9c7
medium.com/@meltft

Make sure to Like and Share!

And pls subscribe: https://shorturl.at/dsIO9

Thanks For Watching!

#statesrebuilder #flutter #statemanagement
Laptop I use for drawing, recording, and editing:
Lenovo Thinkpad X1 Yoga: amzn.to/2RqFB8U

Super cheap, quality mouse. And batteries last forever:
VicTsing: amzn.to/2UWUimf

Docking station to keep everything organized:
Dell: amzn.to/3ea0sao

Also my favorite book ever, just so more people can read it :)
Brave New World by Aldous Huxley: amzn.to/3c7o91c
Is states_rebuilder the Best State Management?Setting Up GitHub Project and Workflow | Complete Flutter App #3
Tadas Petra |

Is states_rebuilder the Best State Management?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER