DropdownTextSearch<T> constructor

const DropdownTextSearch<T>({
  1. Key? key,
  2. double? overlayHeight,
  3. required List<T> items,
  4. required Widget itemBuilder(
    1. T item
    ),
  5. required String itemToString(
    1. T item
    ),
  6. bool filterFnc(
    1. String text,
    2. T item
    )?,
  7. dynamic onChange(
    1. T item
    )?,
  8. TextEditingController? controller,
  9. InputDecoration? decorator,
  10. FocusScopeNode? node,
  11. String? noItemFoundText,
  12. TextStyle? textFieldStyle,
  13. Color? backgroundColor,
})

Implementation

const DropdownTextSearch({
  Key? key,
  this.overlayHeight,
  required this.items,
  required this.itemBuilder,
  required this.itemToString,
  this.filterFnc,
  this.onChange,
  this.controller,
  this.decorator,
  this.node,
  this.noItemFoundText,
  this.textFieldStyle,
  this.backgroundColor,
}) : super(key: key);