DEV Community

Terry L
Terry L

Posted on

Inside popular Flutter state management libraries

Demystify Flutter state management solutions by understanding their internal mechanism.

We will categorize libraries by how it propagates state changes.

This is the key attribute and defines a library's capability and limitation. Libraries using the same state propagating mechanism are more or less similar.

There are four approaches to propagate state changes:

  • Using widget (StatefulWidget, InheritedWidget, provider)
  • Using stream (flutter_bloc, flutter_redux)
  • Using subscription (getx, riverpod, flutter_mobx)
  • Using graph (creator)

Continue reading here:

https://medium.com/@terryl1900/inside-popular-flutter-state-management-libraries-e20c1119bf75

Top comments (0)