TitleDropdown constructor

const TitleDropdown({
  1. Key? key,
  2. required List dwItems,
  3. String? title,
  4. required String? dwValue,
  5. required Function onChange,
  6. double? height,
  7. double? width,
  8. Color? bgColor,
  9. Color? rightIconColor,
  10. Color? borderColor,
  11. String? hintText,
  12. Color? textColor,
  13. Color? itemColor,
  14. double? circularBorderRadius,
  15. TextStyle? hintTextStyle,
  16. TextStyle? textStyle,
  17. TextStyle? titleStyle,
  18. double? horizontalContentPadding,
  19. bool isFillColor = false,
  20. bool isBorder = true,
  21. bool isTitle = true,
  22. bool isRightIcon = true,
  23. String? viewKey,
  24. String? valueKey,
  25. DropdownListType? type = DropdownListType.none,
  26. double? marginHorizontal,
  27. double? marginVertical,
  28. double? marginTop,
  29. double? marginLeft,
  30. double? marginRight,
  31. double? marginBottom,
  32. Color? fillColor,
  33. IconData? dropDownIconData,
  34. Color? rightIconBgColor,
  35. String? additionFlagText,
})

Implementation

const TitleDropdown({
  super.key,
  required this.dwItems,
  this.title,
  required this.dwValue,
  required this.onChange,
  this.height,
  this.width,
  this.bgColor,
  this.rightIconColor,
  this.borderColor,
  this.hintText,
  this.textColor,
  this.itemColor,
  this.circularBorderRadius,
  this.hintTextStyle,
  this.textStyle,
  this.titleStyle,
  this.horizontalContentPadding,
  this.isFillColor = false,
  this.isBorder = true,
  this.isTitle = true,
  this.isRightIcon = true,
  this.viewKey,
  this.valueKey,
  this.type = DropdownListType.none,
  this.marginHorizontal,
  this.marginVertical,
  this.marginTop,
  this.marginLeft,
  this.marginRight,
  this.marginBottom,
  this.fillColor,
  this.dropDownIconData,
  this.rightIconBgColor,
  this.additionFlagText,
});