CustomDropDownButton<T> constructor

const CustomDropDownButton<T>({
  1. Key? key,
  2. List<T>? items,
  3. void onChanged(
    1. T?
    )?,
  4. double? width,
  5. double? height,
  6. T? newValue,
  7. String? hintText,
  8. String? validator(
    1. T?
    )?,
  9. String? labelText,
  10. EdgeInsetsGeometry? contentPadding,
  11. TextAlign? textAlign,
  12. TextAlign? labelAlign,
  13. Color? fillColor,
  14. void onTap()?,
  15. Color? labelColor,
  16. InputBorder? inputBorder,
  17. InputBorder? disabledBorder,
  18. InputBorder? enabledBorder,
  19. Color? iconColor,
  20. Color? borderColor,
  21. Color? dropdownColor,
  22. Color? itemColor,
  23. BorderRadius? borderRadius,
  24. Widget? icon,
  25. double? radius,
  26. TextStyle? hintStyle,
})

Implementation

const CustomDropDownButton({
  super.key,
  this.items,
  this.onChanged,
  this.width,
  this.height,
  this.newValue,
  this.hintText,
  this.validator,
  this.labelText,
  this.contentPadding,
  this.textAlign,
  this.labelAlign,
  this.fillColor,
  this.onTap,
  this.labelColor,
  this.inputBorder,
  this.disabledBorder,
  this.enabledBorder,
  this.iconColor,
  this.borderColor,
  this.dropdownColor,
  this.itemColor,
  this.borderRadius,
  this.icon,
  this.radius,
  this.hintStyle,
});