ViewParameters constructor
const
ViewParameters({})
Constructs a new ViewParameters instance.
The key parameter is required and specifies the API key for the Google Maps embed.
The center parameter is required and specifies the coordinates for the center of the map.
The zoom, language, mapType, and region parameters are optional and provide additional customization options.
Implementation
const ViewParameters({
required super.key,
required Coordinates center,
super.zoom,
super.language,
super.mapType,
super.region,
}) : super(mode: MapMode.view, center: center);