CustomAutocomplete constructor
const
CustomAutocomplete({
- Key? key,
- required List<
CustomAutocompleteItem> items, - required void onSelected(
- CustomAutocompleteItem selectedItem
- String? hintText,
- BoxDecoration? dropdownDecoration,
- TextStyle? itemTextStyle,
- InputDecoration? textFieldDecoration,
Implementation
const CustomAutocomplete({
Key? key,
required this.items,
required this.onSelected,
this.hintText,
this.dropdownDecoration,
this.itemTextStyle,
this.textFieldDecoration,
}) : super(key: key);