FastSearchSelect<T> constructor

const FastSearchSelect<T>({
  1. Key? key,
  2. bool showClearButton = true,
  3. String searchTitle = 'Search',
  4. Future<List<T>> onSearch(
    1. String
    )?,
  5. String? hint,
  6. List<T>? initialValue,
  7. bool alowMultiple = true,
  8. double radius = 8,
  9. void onChanged(
    1. List<T>?
    )?,
  10. int? max,
  11. String? validation(
    1. List<T>
    )?,
  12. Widget itemBuilder(
    1. T
    )?,
  13. required List<T> items,
})

Implementation

const FastSearchSelect({
  super.key,
  this.showClearButton = true,
  this.searchTitle = 'Search',
  this.onSearch,
  this.hint,
  this.initialValue,
  this.alowMultiple = true,
  this.radius = 8,
  this.onChanged,
  this.max,
  this.validation,
  this.itemBuilder,
  required this.items,
});