DEV Community

Discussion on: I am a Mobile and Web Developer, Ask Me Anything(anything Flutter, anything Javascript)!

Collapse
 
domin profile image
Dominic Sears

What is your preferred method for state management in Flutter? Which is the best for scaling an application?

There's a few like Redux, Bloc, Scoped, and Provider.

Collapse
 
newtonmunene_yg profile image
Newton Munene

I've been using bloc for a while but after Google I/O 2019 I've switched to Provider. I haven't actually used Provider yet.

Collapse
 
domin profile image
Dominic Sears

Why the switch? Ease of use or just efficiency?

Thread Thread
 
newtonmunene_yg profile image
Newton Munene

Ease of use. Bloc had a lot going on. And also efficiency. Provider is right in the middle. Apps that don't require complex state management but are also a bit complex for scoped model, Stream builder etc