MultiSelectSearch<T> constructor

const MultiSelectSearch<T>({
  1. Key? key,
  2. EdgeInsetsGeometry? padding,
  3. Widget? clearAll,
  4. double? maxHeight,
  5. Decoration? decoration,
  6. TextStyle? chipTextStyle,
  7. required List<T> items,
  8. required void onChanged(
    1. List<T> data
    ),
  9. Widget? emptyListIndicator,
  10. required Widget itemBuilder(
    1. T
    ),
  11. required List<T> initialValue,
  12. InputDecoration? searchFieldDecoration,
  13. required String chipLabelKey,
})

Implementation

const MultiSelectSearch({
  Key? key,
  this.padding,
  this.clearAll,
  this.maxHeight,
  this.decoration,
  this.chipTextStyle,
  required this.items,
  required this.onChanged,
  this.emptyListIndicator,
  required this.itemBuilder,
  required this.initialValue,
  this.searchFieldDecoration,
  required this.chipLabelKey,
}) : super(key: key);