globalKey property

GlobalKey<CrossButtonState> globalKey
final

It's a way to access the state of the button from outside the widget.

Implementation

final GlobalKey<CrossButtonState> globalKey;