AutocompleteDropdown<T> constructor

const AutocompleteDropdown<T>({
  1. Key? key,
  2. required T? value,
  3. required List<T> items,
  4. required dynamic onChanged(
    1. T?
    )?,
  5. required String hint,
  6. required bool isLoading,
  7. required LocationPickerTheme theme,
  8. required Widget itemBuilder(
    1. T
    ),
  9. required String displayTextBuilder(
    1. T
    ),
  10. bool isExpanded = true,
  11. bool enabled = true,
  12. bool searchFilter(
    1. T,
    2. 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,
});