StaticMap constructor
const
StaticMap({
- Key? key,
- required String googleApiKey,
- double? width,
- double? height,
- List<
Marker> ? markers, - List<
GeocodedLocation> ? visible, - GeocodedLocation? center,
- int? zoom,
- MapScale? scale,
- MapImageFormat? format,
- StaticMapType? maptype,
- String? mapId,
- List<
Path> ? paths, - String? language,
- String? region,
- String? signature,
- List<
MapStyle> ? styles, - bool scaleToDevicePixelRatio = true,
Implementation
const StaticMap({
Key? key,
required this.googleApiKey,
this.width,
this.height,
this.markers,
this.visible,
this.center,
this.zoom,
this.scale,
this.format,
this.maptype,
this.mapId,
this.paths,
this.language,
this.region,
this.signature,
this.styles,
this.scaleToDevicePixelRatio = true,
}) : super(key: key);