SearchDropList<T> constructor

const SearchDropList<T>({
  1. Key? key,
  2. required DropdownSearchListModel<T> dropListModel,
  3. required OptionItemsSearch<T>? itemSelected,
  4. required ValueChanged<OptionItemsSearch<T>> onOptionSelected,
  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,
})

Creates a SearchDropList widget.

Implementation

const SearchDropList({
  super.key,
  required this.dropListModel,
  required this.itemSelected,
  required this.onOptionSelected,
  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,
});