CustomSearchableDropDown constructor
CustomSearchableDropDown({
- required List items,
- required String? label,
- required ValueChanged onChanged,
- String? hint,
- List? initialValue,
- TextAlign? labelAlign,
- double? searchBarHeight,
- Color? primaryColor,
- EdgeInsetsGeometry? padding,
- TextStyle? labelStyle,
- bool? enabled,
- bool? showClearButton,
- String? itemOnDialogueBox,
- required List dropDownMenuItems,
- Widget? prefixIcon,
- Widget? suffixIcon,
- int? initialIndex,
- bool? multiSelect,
- String? multiSelectTag,
- bool? multiSelectValuesAsWidget,
- bool? hideSearch,
- Decoration? decoration,
- bool? showLabelInMenu,
- TextStyle? dropdownItemStyle,
- Color? backgroundColor,
- Color? dropdownBackgroundColor,
- 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,
});