AppleMap constructor

const AppleMap({
  1. Key? key,
  2. required CameraPosition initialCameraPosition,
  3. MapCreatedCallback? onMapCreated,
  4. Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers,
  5. bool compassEnabled = true,
  6. bool trafficEnabled = false,
  7. MapType mapType = MapType.standard,
  8. MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  9. TrackingMode trackingMode = TrackingMode.none,
  10. bool rotateGesturesEnabled = true,
  11. bool scrollGesturesEnabled = true,
  12. bool zoomGesturesEnabled = true,
  13. bool pitchGesturesEnabled = true,
  14. bool myLocationEnabled = false,
  15. bool myLocationButtonEnabled = false,
  16. EdgeInsets padding = EdgeInsets.zero,
  17. Set<Annotation>? annotations,
  18. Set<Polyline>? polylines,
  19. Set<Circle>? circles,
  20. Set<Polygon>? polygons,
  21. VoidCallback? onCameraMoveStarted,
  22. CameraPositionCallback? onCameraMove,
  23. VoidCallback? onCameraIdle,
  24. ArgumentCallback<LatLng>? onTap,
  25. ArgumentCallback<LatLng>? onLongPress,
  26. SnapshotOptions? snapshotOptions,
  27. bool insetsLayoutMarginsFromSafeArea = true,
})

Implementation

const AppleMap({
  Key? key,
  required this.initialCameraPosition,
  this.onMapCreated,
  this.gestureRecognizers,
  this.compassEnabled = true,
  this.trafficEnabled = false,
  this.mapType = MapType.standard,
  this.minMaxZoomPreference = MinMaxZoomPreference.unbounded,
  this.trackingMode = TrackingMode.none,
  this.rotateGesturesEnabled = true,
  this.scrollGesturesEnabled = true,
  this.zoomGesturesEnabled = true,
  this.pitchGesturesEnabled = true,
  this.myLocationEnabled = false,
  this.myLocationButtonEnabled = false,
  this.padding = EdgeInsets.zero,
  this.annotations,
  this.polylines,
  this.circles,
  this.polygons,
  this.onCameraMoveStarted,
  this.onCameraMove,
  this.onCameraIdle,
  this.onTap,
  this.onLongPress,
  this.snapshotOptions,
  this.insetsLayoutMarginsFromSafeArea = true,
}) : super(key: key);