MapLocationPicker constructor
MapLocationPicker(
- String apiKey, {
- Key? key,
- String languageCode = 'en_us',
- String nearBy = 'Nearby Places',
- String findingPlace = 'Finding place...',
- String noResultsFound = 'No results found',
- String unnamedLocation = 'Unnamed location',
- String tapToSelectLocation = 'Tap to select this location',
- String autoCompleteRegion = '',
- String autoCompleteComponents = '',
- bool autoTheme = false,
- LatLng? displayLocation,
- LatLng? defaultLocation,
Implementation
MapLocationPicker(this.apiKey,
{super.key,
this.languageCode = 'en_us',
this.nearBy = 'Nearby Places',
this.findingPlace = 'Finding place...',
this.noResultsFound = 'No results found',
this.unnamedLocation = 'Unnamed location',
this.tapToSelectLocation = 'Tap to select this location',
this.autoCompleteRegion = '',
this.autoCompleteComponents = '',
this.autoTheme = false,
this.displayLocation,
LatLng? defaultLocation}) {
if (defaultLocation != null) {
this.defaultLocation = defaultLocation;
}
}