CustomAutocomplete constructor

const CustomAutocomplete({
  1. Key? key,
  2. required List<CustomAutocompleteItem> items,
  3. required void onSelected(
    1. CustomAutocompleteItem selectedItem
    ),
  4. String? hintText,
  5. BoxDecoration? dropdownDecoration,
  6. TextStyle? itemTextStyle,
  7. InputDecoration? textFieldDecoration,
})

Implementation

const CustomAutocomplete({
  Key? key,
  required this.items,
  required this.onSelected,
  this.hintText,
  this.dropdownDecoration,
  this.itemTextStyle,
  this.textFieldDecoration,
}) : super(key: key);