Navigating StatefulWidgets Part 1

Greg Perry
13 min readMar 8, 2024

A look at Flutter’s StatefulWidget, its State and its Lifecycle.

If you’re going to use Flutter, you’re going to use StatefulWidget’s. A lot of them. Called one after the other. It’s inevitable. As you learn Flutter, your apps will get more complicated with more StatefulWidgets. While a Stateless widget is to never change once created, a StatefulWidget’s State object can change internally in response to user interactions and system events.

In this article, I’ll review with you the ‘event’ functions that are typically fired in both the…

--

--