Widget view(String key) { if (!_injectMapView.containsKey(key)) throw "View not found"; return _injectMapView[key]!; }