MapSectionProps constructor
const
MapSectionProps({
- required String title,
- String? subtitle,
- required List<
MapLocation> locations, - Map<
String, MapRegionConfig> regions = const {}, - MapStyle mapStyle = const MapStyle(),
- bool showLocationPanel = true,
- String locationPanelTitle = 'Server Locations',
- bool showMapTabs = true,
- Widget tooltipBuilder()?,
- void onLocationSelect()?,
- String height = '520px',
Implementation
const MapSectionProps({
required this.title,
this.subtitle,
required this.locations,
this.regions = const {},
this.mapStyle = const MapStyle(),
this.showLocationPanel = true,
this.locationPanelTitle = 'Server Locations',
this.showMapTabs = true,
this.tooltipBuilder,
this.onLocationSelect,
this.height = '520px',
});