CustomDropdownButton2 constructor

const CustomDropdownButton2({
  1. required String hint,
  2. required String? value,
  3. required List<String> dropdownItems,
  4. required ValueChanged<String?>? onChanged,
  5. DropdownButtonBuilder? selectedItemBuilder,
  6. Alignment? hintAlignment,
  7. Alignment? valueAlignment,
  8. double? buttonHeight,
  9. double? buttonWidth,
  10. EdgeInsetsGeometry? buttonPadding,
  11. BoxDecoration? buttonDecoration,
  12. int? buttonElevation,
  13. Widget? icon,
  14. double? iconSize,
  15. Color? iconEnabledColor,
  16. Color? iconDisabledColor,
  17. double? itemHeight,
  18. EdgeInsetsGeometry? itemPadding,
  19. double? dropdownHeight,
  20. double? dropdownWidth,
  21. EdgeInsetsGeometry? dropdownPadding,
  22. BoxDecoration? dropdownDecoration,
  23. int? dropdownElevation,
  24. Radius? scrollbarRadius,
  25. double? scrollbarThickness,
  26. bool? scrollbarAlwaysShow,
  27. Offset? offset,
  28. Key? key,
})

Implementation

const CustomDropdownButton2({
  required this.hint,
  required this.value,
  required this.dropdownItems,
  required this.onChanged,
  this.selectedItemBuilder,
  this.hintAlignment,
  this.valueAlignment,
  this.buttonHeight,
  this.buttonWidth,
  this.buttonPadding,
  this.buttonDecoration,
  this.buttonElevation,
  this.icon,
  this.iconSize,
  this.iconEnabledColor,
  this.iconDisabledColor,
  this.itemHeight,
  this.itemPadding,
  this.dropdownHeight,
  this.dropdownWidth,
  this.dropdownPadding,
  this.dropdownDecoration,
  this.dropdownElevation,
  this.scrollbarRadius,
  this.scrollbarThickness,
  this.scrollbarAlwaysShow,
  this.offset,
  Key? key,
}) : super(key: key);