widget property

Widget? get widget

The Flutter widget that will contain the rendered Map. Used for caching.

Implementation

Widget? get widget {
  if (_widget == null && !_streamController.isClosed) {
    _widget = HtmlElementView(viewType: _getViewType(_mapId));
  }
  return _widget;
}