EmbedGoogleMap constructor
const
EmbedGoogleMap({
- Key? key,
- required Parameters parameters,
- Color? backgroundColor,
- OnLoadingProgress? loadingProgress,
- OnError? onError,
Creates a new EmbedGoogleMap instance.
The parameters
parameter is required and specifies the parameters for the Google Map.
The backgroundColor
parameter allows you to specify the background color of the map.
The loadingProgress
parameter is a callback that tracks the loading progress of the map.
The onError
parameter is a callback that is triggered when an error occurs while loading the map.
The onNavigationRequest
parameter is a callback that is called when a navigation request is made within the map.
Implementation
const EmbedGoogleMap({
super.key,
required this.parameters,
this.backgroundColor,
this.loadingProgress,
this.onError,
this.onNavigationRequest,
});