GoogleMapWithFMTO constructor

GoogleMapWithFMTO({
  1. required FMTOOptions fmtoOptions,
  2. required CameraPosition initialCameraPosition,
  3. Key? key,
  4. List<FloatingMarkerTitleInfo>? floatingTitles,
  5. Stream<List<FloatingMarkerTitleInfo>>? floatingTitlesStream,
  6. MapCreatedCallback? onMapCreated,
  7. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  8. bool compassEnabled = true,
  9. bool mapToolbarEnabled = true,
  10. CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded,
  11. MapType mapType = MapType.normal,
  12. MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  13. bool rotateGesturesEnabled = true,
  14. bool scrollGesturesEnabled = true,
  15. bool zoomControlsEnabled = true,
  16. bool zoomGesturesEnabled = true,
  17. bool liteModeEnabled = false,
  18. bool tiltGesturesEnabled = true,
  19. EdgeInsets padding = const EdgeInsets.all(0),
  20. Set<Marker>? markers,
  21. Set<Polygon>? polygons,
  22. Set<Polyline>? polylines,
  23. Set<Circle>? circles,
  24. VoidCallback? onCameraMoveStarted,
  25. CameraPositionCallback? onCameraMove,
  26. VoidCallback? onCameraIdle,
  27. ArgumentCallback<LatLng>? onTap,
  28. ArgumentCallback<LatLng>? onLongPress,
  29. bool? myLocationEnabled,
  30. bool? myLocationButtonEnabled,
  31. bool? indoorViewEnabled,
  32. bool? trafficEnabled,
  33. bool? buildingsEnabled,
})

Implementation

factory GoogleMapWithFMTO({
  required final FMTOOptions fmtoOptions,
  required final CameraPosition initialCameraPosition,
  final Key? key,
  final List<FloatingMarkerTitleInfo>? floatingTitles,
  final Stream<List<FloatingMarkerTitleInfo>>? floatingTitlesStream,
  final MapCreatedCallback? onMapCreated,
  final Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  final bool compassEnabled = true,
  final bool mapToolbarEnabled = true,
  final CameraTargetBounds cameraTargetBounds = CameraTargetBounds.unbounded,
  final MapType mapType = MapType.normal,
  final MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  final bool rotateGesturesEnabled = true,
  final bool scrollGesturesEnabled = true,
  final bool zoomControlsEnabled = true,
  final bool zoomGesturesEnabled = true,
  final bool liteModeEnabled = false,
  final bool tiltGesturesEnabled = true,
  final EdgeInsets padding = const EdgeInsets.all(0),
  final Set<Marker>? markers,
  final Set<Polygon>? polygons,
  final Set<Polyline>? polylines,
  final Set<Circle>? circles,
  final VoidCallback? onCameraMoveStarted,
  final CameraPositionCallback? onCameraMove,
  final VoidCallback? onCameraIdle,
  final ArgumentCallback<LatLng>? onTap,
  final ArgumentCallback<LatLng>? onLongPress,
  final bool? myLocationEnabled,
  final bool? myLocationButtonEnabled,
  final bool? indoorViewEnabled,
  final bool? trafficEnabled,
  final bool? buildingsEnabled,
}) {
  return GoogleMapWithFMTO._internal(
    _GoogleMapMVI(fmtoOptions.mapProjectionsCacheSize),
    fmtoOptions,
    key,
    initialCameraPosition,
    onMapCreated,
    gestureRecognizers,
    compassEnabled,
    mapToolbarEnabled,
    cameraTargetBounds,
    mapType,
    minMaxZoomPreference,
    rotateGesturesEnabled,
    scrollGesturesEnabled,
    zoomControlsEnabled,
    zoomGesturesEnabled,
    liteModeEnabled,
    tiltGesturesEnabled,
    padding,
    markers,
    polygons,
    polylines,
    circles,
    onCameraMoveStarted,
    onCameraMove,
    onCameraIdle,
    onTap,
    onLongPress,
    myLocationEnabled,
    myLocationButtonEnabled,
    indoorViewEnabled,
    trafficEnabled,
    buildingsEnabled,
    floatingTitles: floatingTitles,
    floatingTitlesStream: floatingTitlesStream,
  );
}