addViewKey method

  1. @internal
GlobalKey<State<StatefulWidget>> addViewKey()

Implementation

@internal
GlobalKey addViewKey() {
  final key = GlobalKey();
  viewKeys.add(key);
  return key;
}