Maps constructor
const
Maps({
- Key? key,
- LatLng? initialPosition,
- List<
Polyline> ? polylines, - List<
Polygon> ? polygons, - List<
Marker> ? markers, - List<
Circle> ? circles, - dynamic onTap(
- LatLng
- CameraTargetBounds? cameraTargetBounds,
- double zoom = 0,
- bool myLocationEnabled = false,
- bool myLocationButtonEnabled = false,
- dynamic onMapsReady()?,
- 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);