CustomSearchableDropDown constructor

CustomSearchableDropDown({
  1. required List items,
  2. required String? label,
  3. required ValueChanged onChanged,
  4. String? hint,
  5. List? initialValue,
  6. TextAlign? labelAlign,
  7. double? searchBarHeight,
  8. Color? primaryColor,
  9. EdgeInsetsGeometry? padding,
  10. EdgeInsetsGeometry? menuPadding,
  11. TextStyle? labelStyle,
  12. bool? enabled,
  13. bool? showClearButton,
  14. String? itemOnDialogueBox,
  15. required List dropDownMenuItems,
  16. Widget? prefixIcon,
  17. Widget? suffixIcon,
  18. bool? menuMode,
  19. double? menuHeight,
  20. int? initialIndex,
  21. bool? multiSelect,
  22. String? multiSelectTag,
  23. bool? multiSelectValuesAsWidget,
  24. bool? hideSearch,
  25. Decoration? decoration,
  26. bool? showLabelInMenu,
  27. TextStyle? dropdownItemStyle,
  28. Color? backgroundColor,
  29. Color? dropdownBackgroundColor,
  30. String? dropdownHintText,
})

Implementation

CustomSearchableDropDown({
  required this.items,
  required this.label,
  required this.onChanged,
  this.hint,
  this.initialValue,
  this.labelAlign,
  this.searchBarHeight,
  this.primaryColor,
  this.padding,
  this.menuPadding,
  this.labelStyle,
  this.enabled,
  this.showClearButton,
  this.itemOnDialogueBox,
  required this.dropDownMenuItems,
  this.prefixIcon,
  this.suffixIcon,
  this.menuMode,
  this.menuHeight,
  this.initialIndex,
  this.multiSelect,
  this.multiSelectTag,
  this.multiSelectValuesAsWidget,
  this.hideSearch,
  this.decoration,
  this.showLabelInMenu,
  this.dropdownItemStyle,
  this.backgroundColor,
  this.dropdownBackgroundColor,
  this.dropdownHintText,
});