nestedKey method

GlobalKey<NavigatorState>? nestedKey(
  1. dynamic key
)

Implementation

GlobalKey<NavigatorState>? nestedKey(dynamic key) {
  keys.putIfAbsent(
    key,
    () => GlobalKey<NavigatorState>(
      debugLabel: 'Getx nested key: ${key.toString()}',
    ),
  );
  return keys[key];
}