SelectDropMultipleList constructor

const SelectDropMultipleList({
  1. Key? key,
  2. required OptionItem defaultText,
  3. required DropListModel dropListModel,
  4. required bool showIcon,
  5. required dynamic onOptionListSelected(
    1. List<OptionItem> optionItem
    ),
  6. dynamic onTapCross(
    1. bool cancel
    )?,
  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. Color? arrowColor,
  16. Color? textColorItem,
  17. double textSizeItem = 14,
  18. bool showBorder = true,
  19. bool showCrossIcon = 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. Widget? selectedIconWidget,
  34. String? submitText,
  35. Color? colorSubmitButton,
  36. EdgeInsetsGeometry? paddingBottomList,
  37. Color? dropboxColor,
  38. double borderSize = 1,
})

Implementation

const SelectDropMultipleList(
    {super.key,
    required this.defaultText,
    required this.dropListModel,
    required this.showIcon,
    required this.onOptionListSelected,
    this.onTapCross,
    this.paddingLeft = 20,
    this.paddingRight = 20,
    this.paddingTop = 20,
    this.paddingBottom = 20,
    this.icon,
    this.arrowIconSize = 20,
    this.textColorTitle,
    this.textSizeTitle = 16,
    this.arrowColor,
    this.textColorItem,
    this.textSizeItem = 14,
    this.showBorder = true,
    this.showCrossIcon = 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.selectedIconWidget,
    this.submitText,
    this.colorSubmitButton,
    this.paddingBottomList,
    this.dropboxColor,
    this.borderSize = 1});