getGlobalKey method

GlobalKey<State<StatefulWidget>>? getGlobalKey(
  1. String id
)

Retorna la GlobalKey para asignar al widget en el árbol.

La key permite que el executor obtenga el BuildContext y RenderBox del widget cuando ejecute eventos sobre él.

Implementation

GlobalKey? getGlobalKey(String id) => _registry.getGlobalKey(id);