getContext method

BuildContext? getContext(
  1. String key
)

获取锚点元素对象

Implementation

BuildContext? getContext(String key) => _anchorMap[key]?.currentContext;