PlacePicker constructor

PlacePicker(
  1. String apiKey, {
  2. LatLng? displayLocation,
  3. LocalizationItem? localizationItem,
  4. 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;
  }
}