Widget: Global Keys
-
Use global keys to uniquely identify child widgets.
-
Must be globally unique across the entire widget hierarchy, unlike local keys which need only be unique among siblings.
-
Because they are globally unique, a global key can be used to retrieve the state associated with a widget.
Widget: Global Keys —
Structure map
Clickable & Draggable!
Widget: Global Keys —
Related pages: