SelectDropRadio constructor

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

Implementation

const SelectDropRadio(
    {super.key,
    required this.defaultText,
    required this.dropListModel,
    required this.showIcon,
    required this.onOptionListSelected,
    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.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.submitText,
    this.colorSubmitButton,
    this.paddingBottomList,
    this.scaleRadio,
    this.selectedRadioColor,
    this.borderSize = 1});