AutocompleteDropdown<T> constructor
const
AutocompleteDropdown<T> ({
- Key? key,
- required T? value,
- required List<
T> items, - required dynamic onChanged(
- T?
- required String hint,
- required bool isLoading,
- required LocationPickerTheme theme,
- required Widget itemBuilder(
- T
- required String displayTextBuilder(
- T
- bool isExpanded = true,
- bool enabled = true,
- bool searchFilter(
- T,
- String
Implementation
const AutocompleteDropdown({
super.key,
required this.value,
required this.items,
required this.onChanged,
required this.hint,
required this.isLoading,
required this.theme,
required this.itemBuilder,
required this.displayTextBuilder,
this.isExpanded = true,
this.enabled = true,
this.searchFilter,
});