getGlobalKey method
Returns the internal GlobalKey to assign to the widget in the tree.
Usage:
ElevatedButton(
key: McpEvents.instance.getGlobalKey('auth.login_button'),
...
)
Implementation
GlobalKey? getGlobalKey(String id) => _widgets[id]?.globalKey;