SelectDropList<T> constructor

const SelectDropList<T>({
  1. Key? key,
  2. required OptionItems<T>? itemSelected,
  3. required DropdownListModel<T> dropListModel,
  4. required dynamic onOptionSelected(
    1. OptionItems<T>
    ),
  5. required String hintText,
  6. VoidCallback? onClear,
  7. bool showClearButton = false,
  8. bool showIcon = false,
  9. bool showArrowIcon = true,
  10. Widget? icon,
  11. double arrowIconSize = 20,
  12. Color? textColorTitle,
  13. double textSizeTitle = 16,
  14. EdgeInsetsGeometry? paddingDropItem,
  15. Color? arrowColor,
  16. Color? textColorItem,
  17. double textSizeItem = 14,
  18. bool showBorder = true,
  19. bool enable = true,
  20. double? width,
  21. BorderRadiusGeometry? borderRadius,
  22. double? height,
  23. double? heightBottomContainer,
  24. List<BoxShadow>? boxShadow,
  25. Color? borderColor,
  26. Color? hintColorTitle,
  27. Decoration? containerDecoration,
  28. EdgeInsetsGeometry? containerPadding,
  29. Color? shadowColor,
  30. IconData? suffixIcon,
  31. EdgeInsetsGeometry? containerMargin,
  32. double borderSize = 1,
  33. BorderRadiusGeometry? dropBoxBorderRadius,
  34. Color? dropBoxBorderColor,
  35. Color? dropboxColor,
  36. Color? scrollThumbColor,
  37. double? scrollThickness,
  38. Radius? scrollRadius,
  39. EdgeInsetsGeometry? padding,
})

Creates a SelectDropList widget.

Implementation

const SelectDropList({
  super.key,
  required this.itemSelected,
  required this.dropListModel,
  required this.onOptionSelected,
  required this.hintText,
  this.onClear,
  this.showClearButton = false,
  this.showIcon = false,
  this.showArrowIcon = true,
  this.icon,
  this.arrowIconSize = 20,
  this.textColorTitle,
  this.textSizeTitle = 16,
  this.paddingDropItem,
  this.arrowColor,
  this.textColorItem,
  this.textSizeItem = 14,
  this.showBorder = true,
  this.enable = true,
  this.width,
  this.borderRadius,
  this.height,
  this.heightBottomContainer,
  this.boxShadow,
  this.borderColor,
  this.hintColorTitle,
  this.containerDecoration,
  this.containerPadding,
  this.shadowColor,
  this.suffixIcon,
  this.containerMargin,
  this.borderSize = 1,
  this.dropBoxBorderRadius,
  this.dropBoxBorderColor,
  this.dropboxColor,
  this.scrollThumbColor,
  this.scrollThickness,
  this.scrollRadius,
  this.padding,
});