FFGoogleMap constructor

FFGoogleMap({
  1. FFLatLng? legacyInitialLocation,
  2. @Deprecated('This field is deprecated.') FFMapDocumentMarkers? legacyDocMarkers,
  3. @Deprecated('This field is deprecated.') FFMapDocumentMarker? legacySingleDocMarker,
  4. FFGoogleMap_FFGoogleMarkerColor? markerColor,
  5. FFGoogleMap_FFGoogleMapType? mapType,
  6. FFGoogleMap_FFGoogleMapStyle? mapStyle,
  7. double? legacyInitialZoom,
  8. bool? allowInteraction,
  9. bool? allowZoom,
  10. bool? showZoomControls,
  11. bool? legacyShowLocation,
  12. bool? legacyShowCompass,
  13. bool? legacyShowMapToolbar,
  14. bool? legacyShowTraffic,
  15. bool? legacyCenterMapOnMarkerTap,
  16. bool? updatePageOnMapMove,
  17. FFGoogleMap_FFMarkerType? markerType,
  18. @Deprecated('This field is deprecated.') FFMapLatLngMarkers? legacyLatLngMarkers,
  19. @Deprecated('This field is deprecated.') FFMapLatLngMarker? legacySingleLatLngMarker,
  20. FFGoogleMap_FFMarkerIcon? markerIcon,
  21. FFImage? markerImage,
  22. FFLatLngValue? initialLocationValue,
  23. FFDoubleValue? initialZoomValue,
  24. FFBooleanValue? showLocationValue,
  25. FFBooleanValue? showCompassValue,
  26. FFBooleanValue? showMapToolbarValue,
  27. FFBooleanValue? showTrafficValue,
  28. FFBooleanValue? centerMapOnMarkerTapValue,
  29. FFVariable? docMarkers,
  30. FFVariable? singleDocMarker,
  31. FFVariable? latLngMarkers,
  32. FFVariable? singleLatLngMarker,
  33. 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;
}