Member-only story

Rosetta Stone Of Flutter State Management, setState

Fred Grott
4 min readJun 22, 2022

--

The best way to understand state management in flutter is to create a Rosetta Stone translating one flutter app to use each state solution to see the pros and cons of all flutter state solutions. This time around, let’s take a look at the first one setState.

But first, let’s review some things that will help in this study of state management.

App Pattern Review

When front-end frameworks for app creation first came on the scene, we had the Model-View-Controller:

Now, this where both designers and developers get lost. As ways to implement front-end frameworks matured, the MVC was split into a big-C where the framework controlled the view-rendering and other things, whereas the end developer no longer had access to most of the big items in the big-C-controller.

At the same time, we moved to an MVVM application pattern:

--

--

Fred Grott
Fred Grott

No responses yet