generateKey method

Key generateKey(
  1. String key
)

generate a key that will be registered within HelperOrchestrator this keyId is associated with the key and can be found again using getAnchorKey The key will be used to find the element position when requesting showAnchoredHelper

Implementation

Key generateKey(String key) {
  // final uniqueKey = GlobalKey(debugLabel: key);
  final uniqueKey = ValueKey(key);
  keys[key] = uniqueKey;
  return uniqueKey;
}