PlacesAutocompleteWidget constructor

PlacesAutocompleteWidget({
  1. required String apiKey,
  2. Mode mode = Mode.fullscreen,
  3. String hint = "Search",
  4. BorderRadius? overlayBorderRadius,
  5. num? offset,
  6. Location? location,
  7. num? radius,
  8. String? language,
  9. String? sessionToken,
  10. List<String>? types,
  11. List<Component>? components,
  12. bool? strictbounds,
  13. String? region,
  14. ValueChanged<PlacesAutocompleteResponse>? onError,
  15. Key? key,
  16. String? proxyBaseUrl,
  17. BaseClient? httpClient,
  18. String? startText,
  19. int debounce = 300,
  20. 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);