SelectDropList constructor

const SelectDropList({
  1. Key? key,
  2. required OptionItem itemSelected,
  3. required DropListModel dropListModel,
  4. required bool showIcon,
  5. required bool showArrowIcon,
  6. required dynamic onOptionSelected(
    1. OptionItem optionItem
    ),
  7. double paddingLeft = 20,
  8. double paddingRight = 20,
  9. double paddingTop = 20,
  10. double paddingBottom = 20,
  11. Widget? icon,
  12. double arrowIconSize = 20,
  13. Color? textColorTitle,
  14. double textSizeTitle = 16,
  15. EdgeInsetsGeometry? paddingDropItem,
  16. Color? arrowColor,
  17. Color? textColorItem,
  18. double textSizeItem = 14,
  19. bool showBorder = true,
  20. bool enable = true,
  21. double? width,
  22. BorderRadiusGeometry? borderRadius,
  23. double? height,
  24. double? heightBottomContainer,
  25. List<BoxShadow>? boxShadow,
  26. Color? borderColor,
  27. Color? hintColorTitle,
  28. Decoration? containerDecoration,
  29. EdgeInsetsGeometry? containerPadding,
  30. Color? shadowColor,
  31. IconData? suffixIcon,
  32. EdgeInsetsGeometry? containerMargin,
  33. double borderSize = 1,
  34. BorderRadiusGeometry? dropbBoxborderRadius,
  35. Color? dropboxborderColor,
  36. Color? dropboxColor,
})

Implementation

const SelectDropList({
  super.key,
  required this.itemSelected,
  required this.dropListModel,
  required this.showIcon,
  required this.showArrowIcon,
  required this.onOptionSelected,
  this.paddingLeft = 20,
  this.paddingRight = 20,
  this.paddingTop = 20,
  this.paddingBottom = 20,
  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.dropbBoxborderRadius,
  this.dropboxborderColor,
  this.dropboxColor,
});