FFGoogleMap constructor
FFGoogleMap({
- FFLatLng? legacyInitialLocation,
- @Deprecated('This field is deprecated.') FFMapDocumentMarkers? legacyDocMarkers,
- @Deprecated('This field is deprecated.') FFMapDocumentMarker? legacySingleDocMarker,
- FFGoogleMap_FFGoogleMarkerColor? markerColor,
- FFGoogleMap_FFGoogleMapType? mapType,
- FFGoogleMap_FFGoogleMapStyle? mapStyle,
- double? legacyInitialZoom,
- bool? allowInteraction,
- bool? allowZoom,
- bool? showZoomControls,
- bool? legacyShowLocation,
- bool? legacyShowCompass,
- bool? legacyShowMapToolbar,
- bool? legacyShowTraffic,
- bool? legacyCenterMapOnMarkerTap,
- bool? updatePageOnMapMove,
- FFGoogleMap_FFMarkerType? markerType,
- @Deprecated('This field is deprecated.') FFMapLatLngMarkers? legacyLatLngMarkers,
- @Deprecated('This field is deprecated.') FFMapLatLngMarker? legacySingleLatLngMarker,
- FFGoogleMap_FFMarkerIcon? markerIcon,
- FFImage? markerImage,
- FFLatLngValue? initialLocationValue,
- FFDoubleValue? initialZoomValue,
- FFBooleanValue? showLocationValue,
- FFBooleanValue? showCompassValue,
- FFBooleanValue? showMapToolbarValue,
- FFBooleanValue? showTrafficValue,
- FFBooleanValue? centerMapOnMarkerTapValue,
- FFVariable? docMarkers,
- FFVariable? singleDocMarker,
- FFVariable? latLngMarkers,
- FFVariable? singleLatLngMarker,
- FFBooleanValue? mapTakesGesturePreference,
Implementation
factory FFGoogleMap({
FFLatLng? legacyInitialLocation,
@$core.Deprecated('This field is deprecated.')
FFMapDocumentMarkers? legacyDocMarkers,
@$core.Deprecated('This field is deprecated.')
FFMapDocumentMarker? legacySingleDocMarker,
FFGoogleMap_FFGoogleMarkerColor? markerColor,
FFGoogleMap_FFGoogleMapType? mapType,
FFGoogleMap_FFGoogleMapStyle? mapStyle,
$core.double? legacyInitialZoom,
$core.bool? allowInteraction,
$core.bool? allowZoom,
$core.bool? showZoomControls,
$core.bool? legacyShowLocation,
$core.bool? legacyShowCompass,
$core.bool? legacyShowMapToolbar,
$core.bool? legacyShowTraffic,
$core.bool? legacyCenterMapOnMarkerTap,
$core.bool? updatePageOnMapMove,
FFGoogleMap_FFMarkerType? markerType,
@$core.Deprecated('This field is deprecated.')
FFMapLatLngMarkers? legacyLatLngMarkers,
@$core.Deprecated('This field is deprecated.')
FFMapLatLngMarker? legacySingleLatLngMarker,
FFGoogleMap_FFMarkerIcon? markerIcon,
FFImage? markerImage,
FFLatLngValue? initialLocationValue,
FFDoubleValue? initialZoomValue,
FFBooleanValue? showLocationValue,
FFBooleanValue? showCompassValue,
FFBooleanValue? showMapToolbarValue,
FFBooleanValue? showTrafficValue,
FFBooleanValue? centerMapOnMarkerTapValue,
FFVariable? docMarkers,
FFVariable? singleDocMarker,
FFVariable? latLngMarkers,
FFVariable? singleLatLngMarker,
FFBooleanValue? mapTakesGesturePreference,
}) {
final result = create();
if (legacyInitialLocation != null)
result.legacyInitialLocation = legacyInitialLocation;
if (legacyDocMarkers != null) result.legacyDocMarkers = legacyDocMarkers;
if (legacySingleDocMarker != null)
result.legacySingleDocMarker = legacySingleDocMarker;
if (markerColor != null) result.markerColor = markerColor;
if (mapType != null) result.mapType = mapType;
if (mapStyle != null) result.mapStyle = mapStyle;
if (legacyInitialZoom != null) result.legacyInitialZoom = legacyInitialZoom;
if (allowInteraction != null) result.allowInteraction = allowInteraction;
if (allowZoom != null) result.allowZoom = allowZoom;
if (showZoomControls != null) result.showZoomControls = showZoomControls;
if (legacyShowLocation != null)
result.legacyShowLocation = legacyShowLocation;
if (legacyShowCompass != null) result.legacyShowCompass = legacyShowCompass;
if (legacyShowMapToolbar != null)
result.legacyShowMapToolbar = legacyShowMapToolbar;
if (legacyShowTraffic != null) result.legacyShowTraffic = legacyShowTraffic;
if (legacyCenterMapOnMarkerTap != null)
result.legacyCenterMapOnMarkerTap = legacyCenterMapOnMarkerTap;
if (updatePageOnMapMove != null)
result.updatePageOnMapMove = updatePageOnMapMove;
if (markerType != null) result.markerType = markerType;
if (legacyLatLngMarkers != null)
result.legacyLatLngMarkers = legacyLatLngMarkers;
if (legacySingleLatLngMarker != null)
result.legacySingleLatLngMarker = legacySingleLatLngMarker;
if (markerIcon != null) result.markerIcon = markerIcon;
if (markerImage != null) result.markerImage = markerImage;
if (initialLocationValue != null)
result.initialLocationValue = initialLocationValue;
if (initialZoomValue != null) result.initialZoomValue = initialZoomValue;
if (showLocationValue != null) result.showLocationValue = showLocationValue;
if (showCompassValue != null) result.showCompassValue = showCompassValue;
if (showMapToolbarValue != null)
result.showMapToolbarValue = showMapToolbarValue;
if (showTrafficValue != null) result.showTrafficValue = showTrafficValue;
if (centerMapOnMarkerTapValue != null)
result.centerMapOnMarkerTapValue = centerMapOnMarkerTapValue;
if (docMarkers != null) result.docMarkers = docMarkers;
if (singleDocMarker != null) result.singleDocMarker = singleDocMarker;
if (latLngMarkers != null) result.latLngMarkers = latLngMarkers;
if (singleLatLngMarker != null)
result.singleLatLngMarker = singleLatLngMarker;
if (mapTakesGesturePreference != null)
result.mapTakesGesturePreference = mapTakesGesturePreference;
return result;
}