Skip to content

Glossary: Flutter

State

Also written: State object, createState

The object that holds a `StatefulWidget`'s changing data and its `build` method; Flutter keeps it alive while the widget is on screen. Inside it, `widget` refers to the widget it belongs to.

Where the book teaches it

Related terms

StatefulWidgetsetStatedispose()