PlacePicker constructor
PlacePicker(
- String apiKey, {
- LatLng? displayLocation,
- LocalizationItem? localizationItem,
- LatLng? defaultLocation,
Implementation
PlacePicker(this.apiKey,
{this.displayLocation, this.localizationItem, LatLng? defaultLocation}) {
if (this.localizationItem == null) {
this.localizationItem = new LocalizationItem();
}
if (defaultLocation != null) {
this.defaultLocation = defaultLocation;
}
}