DropdownDialog<T> constructor

const DropdownDialog<T>({
  1. Key? key,
  2. required List<DropdownMenuItem<T>> items,
  3. Widget? hint,
  4. bool isCaseSensitiveSearch = false,
  5. dynamic closeButton,
  6. required TextInputType keyboardType,
  7. Function? searchFn,
  8. required bool multipleSelection,
  9. required List<int> selectedItems,
  10. Function? displayItem,
  11. dynamic doneButton,
  12. Function? validator,
  13. required bool dialogBox,
  14. required PointerThisPlease<bool> displayMenu,
  15. required BoxConstraints menuConstraints,
  16. required Function callOnPop,
  17. required Color menuBackgroundColor,
})

Implementation

const DropdownDialog({
  Key? key,
  required this.items,
  this.hint,
  this.isCaseSensitiveSearch = false,
  this.closeButton,
  required this.keyboardType,
  this.searchFn,
  required this.multipleSelection,
  required this.selectedItems,
  this.displayItem,
  this.doneButton,
  this.validator,
  required this.dialogBox,
  required this.displayMenu,
  required this.menuConstraints,
  required this.callOnPop,
  required this.menuBackgroundColor,
}) : super(key: key);