GooglePlacesAutocompleteWidget constructor
const
GooglePlacesAutocompleteWidget({
- Key? key,
- dynamic onLocationSelected()?,
- dynamic onTextChanged()?,
- String? hintText = 'Search for a place...',
- String? apiKey,
- LocationPickerTheme? theme,
- String? initialValue,
- String? country,
- List<
String> types = const [], - Widget? suffixIcon,
- bool enabled = true,
- TextEditingController? controller,
Implementation
const GooglePlacesAutocompleteWidget({
super.key,
this.onLocationSelected,
this.onTextChanged,
this.hintText = 'Search for a place...',
this.apiKey,
this.theme,
this.initialValue,
this.country,
this.types = const [],
this.suffixIcon,
this.enabled = true,
this.controller,
});