MultipleSelectionSearchDropList<T> constructor

const MultipleSelectionSearchDropList<T>({
  1. Key? key,
  2. required MultiDropdownSearchListModel<T> dropListModel,
  3. required List<OptionItemsMultiSearch<T>> selectedItems,
  4. required ValueChanged<List<OptionItemsMultiSearch<T>>> onOptionsSelected,
  5. required String hintText,
  6. Color? dropboxColor,
  7. Color? dropBoxBorderColor,
  8. Color? scrollThumbColor,
  9. Radius? scrollRadius,
  10. double? scrollThickness,
  11. double? heightBottomContainer,
  12. Color? textColorItem,
  13. Color? textColorTitle,
  14. bool showArrowIcon = false,
  15. bool showClearButton = false,
  16. VoidCallback? onClear,
  17. double? height,
  18. double? width,
  19. EdgeInsetsGeometry? containerPadding,
  20. EdgeInsetsGeometry? containerMargin,
  21. Decoration? containerDecoration,
  22. required bool showBorder,
  23. required bool enable,
  24. Color? borderColor,
  25. Color? shadowColor,
  26. required double borderSize,
  27. BorderRadiusGeometry? borderRadius,
  28. List<BoxShadow>? boxShadow,
  29. double? fontSizeHint,
  30. double arrowIconSize = 20,
  31. Color? arrowColor,
  32. Widget? doneButton,
  33. bool enableSearch = true,
})

Implementation

const MultipleSelectionSearchDropList({
  super.key,
  required this.dropListModel,
  required this.selectedItems,
  required this.onOptionsSelected,
  required this.hintText,
  this.dropboxColor,
  this.dropBoxBorderColor,
  this.scrollThumbColor,
  this.scrollRadius,
  this.scrollThickness,
  this.heightBottomContainer,
  this.textColorItem,
  this.textColorTitle,
  this.showArrowIcon = false,
  this.showClearButton = false,
  this.onClear,
  this.height,
  this.width,
  this.containerPadding,
  this.containerMargin,
  this.containerDecoration,
  required this.showBorder,
  required this.enable,
  this.borderColor,
  this.shadowColor,
  required this.borderSize,
  this.borderRadius,
  this.boxShadow,
  this.fontSizeHint,
  this.arrowIconSize = 20,
  this.arrowColor,
  this.doneButton,
  this.enableSearch = true,
});