EmbedGoogleMap constructor

const EmbedGoogleMap({
  1. Key? key,
  2. required Parameters parameters,
  3. Color? backgroundColor,
  4. OnLoadingProgress? loadingProgress,
  5. OnError? onError,
  6. OnNavigateRequest? onNavigationRequest,
})

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,
});