MultiSelectDropDown<T> constructor

const MultiSelectDropDown<T>({
  1. Key? key,
  2. required List<T> items,
  3. required String itemLabel(
    1. T
    ),
  4. dynamic onSelectionChanged(
    1. List<T>
    )?,
  5. required List<T> selectedItem,
  6. bool isMulti = false,
  7. bool centerTitle = false,
  8. String title = 'Search',
  9. AppBar? appBar,
  10. Widget? selectedIconWidget,
  11. InputDecoration? searchBarInputDecoration,
  12. EdgeInsets? padding,
})

Implementation

const MultiSelectDropDown({
  super.key,
  required this.items,
  required this.itemLabel,
  this.onSelectionChanged,
  required this.selectedItem,
  this.isMulti = false,
  this.centerTitle = false,
  this.title = 'Search',
  this.appBar,
  this.selectedIconWidget,
  this.searchBarInputDecoration,
  this.padding,

});