ListSearch<T> constructor

ListSearch<T>({
  1. Key? key,
  2. List<T>? items,
  3. ListSearchToString<T>? itemAsString,
  4. Mode? mode = Mode.NORMAL,
  5. T? selectedItem,
  6. bool? showSearch = true,
  7. bool? showResultAlways = false,
  8. bool? showCardView = false,
  9. bool? overlay = true,
  10. int? showMaxResult,
  11. dynamic onChanged(
    1. T?
    )?,
  12. EdgeInsets? padding,
  13. EdgeInsets? margin,
  14. TextStyle? inputStyle,
  15. InputDecoration? inputDecoration,
})

Implementation

ListSearch({super.key,
  this.items,
  this.itemAsString,
  this.mode = Mode.NORMAL,
  this.selectedItem,
  this.showSearch = true,
  this.showResultAlways = false,
  this.showCardView = false,
  this.overlay = true,
  this.showMaxResult,
  this.onChanged,
  this.padding,
  this.margin,
  this.inputStyle,
  this.inputDecoration}) {
  _itemsDuplicate = items;
}