DropdownWithSearch<T> constructor

const DropdownWithSearch<T>({
  1. Key? key,
  2. required String title,
  3. required String placeHolder,
  4. required List items,
  5. required T selected,
  6. required Function onChanged,
  7. EdgeInsets? selectedItemPadding,
  8. TextStyle? selectedItemStyle,
  9. TextStyle? dropdownHeadingStyle,
  10. TextStyle? itemStyle,
  11. BoxDecoration? decoration,
  12. BoxDecoration? disabledDecoration,
  13. double? searchBarRadius,
  14. double? dialogRadius,
  15. required String label,
  16. bool disabled = false,
  17. 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,
});