PlaceAutocomplete constructor
PlaceAutocomplete({
- Key? key,
- dynamic onSelected(
- Place selection
- required String apiKey,
- PlaceAutocompleteRequestOptions? options,
- int? debounceDelay,
- InputDecoration? decoration,
- Widget optionsViewBuilder(
- BuildContext context,
- void onSelected(),
- Iterable<
PlaceAutocompletePrediction> options
- Client? client,
Implementation
PlaceAutocomplete({
super.key,
this.onSelected,
required this.apiKey,
this.options,
this.debounceDelay,
this.decoration,
this.optionsViewBuilder,
http.Client? client,
}) : client = client ?? http.Client();