Chapter 2: The Core Building Blocks of State Management

The next four chapters are about different state management techniques, starting from the very basic implementations to diving deep into all sorts of advanced techniques.

In this chapter, we will cover the core building blocks of state management in Flutter. We will learn about basic techniques, which include the setState, InheritedWidget, and InheritedModel classes to manage states in Flutter. We will also look at how these approaches are utilized in code with actual implementations.

We will look into the following topics in this chapter:

  • setState() – Widget-specific state management
  • InheritedWidget – Top-down approach
  • InheritedModel – Within the aspect of updating the desired widgets ...

Get Managing State in Flutter Pragmatically now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.