PlacesAutocompleteWidget constructor
PlacesAutocompleteWidget({
- required String apiKey,
- Mode mode = Mode.fullscreen,
- String hint = "Search",
- BorderRadius? overlayBorderRadius,
- num? offset,
- Location? location,
- num? radius,
- String? language,
- String? sessionToken,
- List<
String> ? types, - List<
Component> ? components, - bool? strictbounds,
- String? region,
- Widget? logo,
- ValueChanged<
PlacesAutocompleteResponse> ? onError, - Key? key,
- String? proxyBaseUrl,
- BaseClient? httpClient,
- String? startText,
- int debounce = 300,
- InputDecoration? decoration,
Implementation
PlacesAutocompleteWidget({
required this.apiKey,
this.mode = Mode.fullscreen,
this.hint = "Search",
this.overlayBorderRadius,
this.offset,
this.location,
this.radius,
this.language,
this.sessionToken,
this.types,
this.components,
this.strictbounds,
this.region,
this.logo,
this.onError,
Key? key,
this.proxyBaseUrl,
this.httpClient,
this.startText,
this.debounce = 300,
this.decoration,
}) : super(key: key);