EnhancedLocationMapPreview constructor
const
EnhancedLocationMapPreview({
- Key? key,
- required List<
LocationData> locations, - required MapProvider mapProvider,
- String? apiKey,
- required double zoom,
- Color? markerColor,
- required bool enableZoomControls,
- required bool enableMapTypeSelector,
- required List<
LocationData> nearbyPlaces, - 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);