SearchItem constructor

const SearchItem({
  1. Key? key,
  2. required Searchable data,
  3. SearchIndicatorShape? searchIndicatorShape,
  4. Color? indicatorColor,
  5. Color? removeItemIconColor,
  6. TextStyle? searchableItemTextStyle,
  7. required Function onDelete,
  8. required Function onSelect,
})

Implementation

const SearchItem(
    {Key? key,
    required this.data,
    this.searchIndicatorShape,
    this.indicatorColor,
    this.removeItemIconColor,
    this.searchableItemTextStyle,
    required this.onDelete,
    required this.onSelect})
    : super(key: key);