EnhancedLocationMapPreview constructor

const EnhancedLocationMapPreview({
  1. Key? key,
  2. required List<LocationData> locations,
  3. required MapProvider mapProvider,
  4. String? apiKey,
  5. required double zoom,
  6. Color? markerColor,
  7. required bool enableZoomControls,
  8. required bool enableMapTypeSelector,
  9. required List<LocationData> nearbyPlaces,
  10. VoidCallback? onTap,
})

Implementation

const EnhancedLocationMapPreview({
  Key? key,
  required this.locations,
  required this.mapProvider,
  this.apiKey,
  required this.zoom,
  this.markerColor,
  required this.enableZoomControls,
  required this.enableMapTypeSelector,
  required this.nearbyPlaces,
  this.onTap,
}) : super(key: key);