getCachedWidget static method

Widget? getCachedWidget(
  1. MarkerConfig config
)

Get a cached widget for the given configuration

Implementation

static Widget? getCachedWidget(MarkerConfig config) {
  final key = CacheKey.forWidget(config);
  _updateAccessOrder(key);
  return _widgetCache[key];
}