EnhancedLocationMapPicker constructor

const EnhancedLocationMapPicker({
  1. Key? key,
  2. required MapProvider mapProvider,
  3. String? apiKey,
  4. required List<LocationData> initialLocations,
  5. required double initialZoom,
  6. required ValueChanged<LocationData> onLocationSelected,
  7. required double mapHeight,
  8. bool enableSearch = true,
  9. Color? markerColor,
  10. required bool enableMultiSelection,
  11. required bool enableZoomControls,
  12. required bool enableMapTypeSelector,
  13. LocationBounds? allowedBounds,
})

Implementation

const EnhancedLocationMapPicker({
  Key? key,
  required this.mapProvider,
  this.apiKey,
  required this.initialLocations,
  required this.initialZoom,
  required this.onLocationSelected,
  required this.mapHeight,
  this.enableSearch = true,
  this.markerColor,
  required this.enableMultiSelection,
  required this.enableZoomControls,
  required this.enableMapTypeSelector,
  this.allowedBounds,
}) : super(key: key);