MapsPlacesAutocomplete constructor

const MapsPlacesAutocomplete({
  1. Key? key,
  2. required void onSuggestionClick(
    1. Place place
    ),
  3. required String mapsApiKey,
  4. required Widget buildItem(
    1. Suggestion,
    2. int
    ),
  5. Icon? clearButton,
  6. BoxDecoration? containerDecoration,
  7. InputDecoration? inputDecoration,
  8. double? elevation,
  9. double overlayOffset = 4,
  10. bool showGoogleTradeMark = true,
  11. String? componentCountry,
  12. 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);