MapSectionProps constructor

const MapSectionProps({
  1. required String title,
  2. String? subtitle,
  3. required List<MapLocation> locations,
  4. Map<String, MapRegionConfig> regions = const {},
  5. MapStyle mapStyle = const MapStyle(),
  6. bool showLocationPanel = true,
  7. String locationPanelTitle = 'Server Locations',
  8. bool showMapTabs = true,
  9. Widget tooltipBuilder(
    1. MapLocation
    )?,
  10. void onLocationSelect(
    1. MapLocation
    )?,
  11. 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',
});