Create a controller widget

A controller widget is a widget that controls other widgets in the widget pool. The HeaderController widget in the FoldableTheme is an example of a controller widget. A controller widget is usually added as part of a theme.

The controller widget can be created in the same way as other widgets with the following additions:

NoteNote:

Remember, there are two types of widgets: in-panel and off-panel. Be sure to open the widget correctly.