DropdownDialog<T>(- {dynamic key,
- List? items,
- dynamic hint,
- bool isCaseSensitiveSearch = false,
- dynamic closeButton,
- dynamic keyboardType,
- Function? searchFn,
- required bool multipleSelection,
- List<int>? selectedItems,
- Function? displayItem,
- dynamic doneButton,
- Function? validator,
- required bool dialogBox,
- Function? callOnPop,
- Function? updateParent,
- dynamic style,
- dynamic iconEnabledColor,
- dynamic iconDisabledColor,
- required bool rightToLeft,
- required bool autofocus,
- required String initialSearchTerms,
- dynamic buildDropDownDialog(
- dynamic titleBar,
- dynamic searchBar,
- dynamic list,
- dynamic closeButton,
- dynamic dropDownContext
)?,
- dynamic dropDownDialogPadding,
- dynamic searchInputDecoration,
- int? itemsPerPage,
- PointerThisPlease<int>? currentPage,
- Future<Tuple2<List, int>> futureSearchFn(
- String? keyword,
- String? orderBy,
- bool? orderAsc,
- List<Tuple2<String, String>>? filters,
- int? pageNb
)?,
- Map<String, Map<String, dynamic>>? futureSearchOrderOptions,
- Map<String, Map<String, Object>>? futureSearchFilterOptions,
- List<T>? futureSelectedValues,
- dynamic emptyListWidget,
- Function? onTap,
- Function? futureSearchRetryButton,
- int? searchDelay,
- required Function giveMeThePop,
- dynamic clearSearchIcon,
- String? listValidator(
- 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);