GlobalKey< T extends State< StatefulWidget>> constructor
Creates a LabeledGlobalKey, which is a GlobalKey with a label used for debugging.
The label is purely for debugging and not used for comparing the identity of the key.
Implementation
factory GlobalKey({ String debugLabel }) => LabeledGlobalKey<T>(debugLabel);