If you still have questions, refer to any one of the developer
community channels.

The rest of this page covers several ways a widget’s state can
be managed, and lists other available interactive widgets.

Managing state

What's the point?

There are different approaches for managing state.

You, as the widget designer, choose which approach to use.

If in doubt, start by managing state in the parent widget.

Who manages the stateful widget’s state? The widget itself?
The parent widget?  Both? Another object?
The answer is… it depends. There are several valid ways
to make your widget interactive. You, as the widget designer,
make the decision based on how you expect your widget to be used.
Here are the most common ways to manage state:

The widget manages its own state

The parent manages the widget’s state

A mix-and-match approach