DropdownDialog<T> constructor Null safety

DropdownDialog<T>(
  1. {Key? key,
  2. required List<DropdownMenuItem<T>> items,
  3. Widget? hint,
  4. bool isCaseSensitiveSearch = false,
  5. dynamic closeButton,
  6. TextInputType? keyboardType,
  7. Function? searchFn,
  8. required bool multipleSelection,
  9. List<int>? selectedItems,
  10. Function? displayItem,
  11. dynamic doneButton,
  12. Function? validator,
  13. required bool dialogBox,
  14. required PointerThisPlease<bool> displayMenu,
  15. BoxConstraints? menuConstraints,
  16. Function? callOnPop,
  17. Color? menuBackgroundColor,
  18. Function? updateParent,
  19. TextStyle? style,
  20. Color? iconEnabledColor,
  21. Color? iconDisabledColor,
  22. required bool rightToLeft,
  23. required bool autofocus,
  24. required String initialSearchTerms}
)

Implementation

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