MapsPlacesAutocomplete constructor
const
MapsPlacesAutocomplete({
- Key? key,
- required void onSuggestionClick(
- Place place
- required String mapsApiKey,
- required Widget buildItem(),
- Icon? clearButton,
- BoxDecoration? containerDecoration,
- InputDecoration? inputDecoration,
- double? elevation,
- double overlayOffset = 4,
- bool showGoogleTradeMark = true,
- String? componentCountry,
- String? language,
Implementation
const MapsPlacesAutocomplete(
{Key? key,
required this.onSuggestionClick,
required this.mapsApiKey,
required this.buildItem,
this.clearButton,
this.containerDecoration,
this.inputDecoration,
this.elevation,
this.overlayOffset = 4,
this.showGoogleTradeMark = true,
this.componentCountry,
this.language})
: super(key: key);