AutoCompleteAddressSearch constructor
AutoCompleteAddressSearch({
- Key? key,
- required String apiKey,
- required dynamic geocodeResponse(),
- AutocompleteOptionsViewBuilder<
Predictions> ? optionsViewBuilder, - String types = 'geocode',
- ComponentsFilter? componentsFilter,
- dynamic sessionToken,
- int? offset,
- InputDecoration? inputDecoration,
- bool disableLogo = false,
Implementation
AutoCompleteAddressSearch({
Key? key,
required this.apiKey,
required this.geocodeResponse,
this.optionsViewBuilder,
this.types = 'geocode',
this.componentsFilter,
this.sessionToken,
this.offset,
this.inputDecoration,
this.disableLogo = false,
}) : super(key: key) {
ApiProvider.mapApiKey = this.apiKey;
}