Maps constructor

const Maps({
  1. Key? key,
  2. LatLng? initialPosition,
  3. List<Polyline>? polylines,
  4. List<Polygon>? polygons,
  5. List<Marker>? markers,
  6. List<Circle>? circles,
  7. dynamic onTap(
    1. LatLng
    )?,
  8. CameraTargetBounds? cameraTargetBounds,
  9. double zoom = 0,
  10. bool myLocationEnabled = false,
  11. bool myLocationButtonEnabled = false,
  12. dynamic onMapsReady()?,
  13. String langName = "en",
})

Implementation

const Maps({
  Key? key,
  this.initialPosition,
  this.polylines,
  this.polygons,
  this.markers,
  this.circles,
  this.onTap,
  this.cameraTargetBounds,
  this.zoom = 0,
  this.myLocationEnabled = false,
  this.myLocationButtonEnabled = false,
  this.onMapsReady,
  this.langName = "en",
}) : super(key: key);