StaticMap constructor

const StaticMap({
  1. Key? key,
  2. required String googleApiKey,
  3. double? width,
  4. double? height,
  5. List<Marker>? markers,
  6. List<GeocodedLocation>? visible,
  7. GeocodedLocation? center,
  8. int? zoom,
  9. MapScale? scale,
  10. MapImageFormat? format,
  11. StaticMapType? maptype,
  12. String? mapId,
  13. List<Path>? paths,
  14. String? language,
  15. String? region,
  16. String? signature,
  17. List<MapStyle>? styles,
  18. 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);