DropdownWithSearch<T> constructor
const
DropdownWithSearch<T> ({
- Key? key,
- required String title,
- required String placeHolder,
- required List items,
- required T selected,
- required Function onChanged,
- EdgeInsets? selectedItemPadding,
- TextStyle? selectedItemStyle,
- TextStyle? dropdownHeadingStyle,
- TextStyle? itemStyle,
- BoxDecoration? decoration,
- BoxDecoration? disabledDecoration,
- double? searchBarRadius,
- double? dialogRadius,
- required String label,
- bool disabled = false,
- bool? isArabic,
Implementation
const DropdownWithSearch({
super.key,
required this.title,
required this.placeHolder,
required this.items,
required this.selected,
required this.onChanged,
this.selectedItemPadding,
this.selectedItemStyle,
this.dropdownHeadingStyle,
this.itemStyle,
this.decoration,
this.disabledDecoration,
this.searchBarRadius,
this.dialogRadius,
required this.label,
this.disabled = false,
this.isArabic,
});