DropdownDialog<T> constructor Null safety

DropdownDialog<T>(
  1. {dynamic key,
  2. List? items,
  3. dynamic hint,
  4. bool isCaseSensitiveSearch = false,
  5. dynamic closeButton,
  6. dynamic 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. dynamic menuConstraints,
  16. Function? callOnPop,
  17. dynamic menuBackgroundColor,
  18. Function? updateParent,
  19. dynamic style,
  20. dynamic iconEnabledColor,
  21. dynamic iconDisabledColor,
  22. required bool rightToLeft,
  23. required bool autofocus,
  24. required String initialSearchTerms,
  25. dynamic buildDropDownDialog(
    1. dynamic titleBar,
    2. dynamic searchBar,
    3. dynamic list,
    4. dynamic closeButton,
    5. dynamic dropDownContext
    )?,
  26. dynamic dropDownDialogPadding,
  27. dynamic searchInputDecoration,
  28. int? itemsPerPage,
  29. PointerThisPlease<int>? currentPage,
  30. dynamic customPaginationDisplay(
    1. dynamic listWidget,
    2. int totalFilteredItemsNb,
    3. Function updateSearchPage
    )?,
  31. Future<Tuple2<List, int>> futureSearchFn(
    1. String? keyword,
    2. String? orderBy,
    3. bool? orderAsc,
    4. List<Tuple2<String, String>>? filters,
    5. int? pageNb
    )?,
  32. Map<String, Map<String, dynamic>>? futureSearchOrderOptions,
  33. Map<String, Map<String, Object>>? futureSearchFilterOptions,
  34. List<T>? futureSelectedValues,
  35. dynamic emptyListWidget,
  36. Function? onTap,
  37. Function? futureSearchRetryButton,
  38. int? searchDelay,
  39. required Function giveMeThePop,
  40. dynamic clearSearchIcon,
  41. String? listValidator(
    1. List<T?>
    )?}
)

Implementation

DropdownDialog({
  Key? key,
  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,
  this.buildDropDownDialog,
  this.dropDownDialogPadding,
  this.searchInputDecoration,
  this.itemsPerPage,
  this.currentPage,
  this.customPaginationDisplay,
  this.futureSearchFn,
  this.futureSearchOrderOptions,
  this.futureSearchFilterOptions,
  this.futureSelectedValues,
  this.emptyListWidget,
  this.onTap,
  this.futureSearchRetryButton,
  this.searchDelay,
  required this.giveMeThePop,
  this.clearSearchIcon,
  this.listValidator,
}) : super(key: key);