DropdownDialog<T> constructor
DropdownDialog<T> ({
- Key? key,
- List<
DropdownMenuItem< ? items,T> > - Widget? hint,
- bool isCaseSensitiveSearch = false,
- dynamic closeButton,
- TextInputType? keyboardType,
- Function? searchFn,
- required bool multipleSelection,
- List<
int> ? selectedItems, - Function? displayItem,
- dynamic doneButton,
- Function? validator,
- required bool dialogBox,
- required PointerThisPlease<
bool> displayMenu, - Function? callOnPop,
- Function? updateParent,
- TextStyle? style,
- Color? iconEnabledColor,
- Color? iconDisabledColor,
- required bool rightToLeft,
- required bool autofocus,
- required String initialSearchTerms,
- Widget buildDropDownDialog(
- Widget titleBar,
- Widget searchBar,
- Widget list,
- Widget closeButton,
- BuildContext dropDownContext,
- EdgeInsets? dropDownDialogPadding,
- InputDecoration? searchInputDecoration,
- int? itemsPerPage,
- PointerThisPlease<
int> ? currentPage, - Widget customPaginationDisplay()?,
- Future<
Tuple2< futureSearchFn()?,List< >DropdownMenuItem> , int> - Map<
String, Map< ? futureSearchOrderOptions,String, dynamic> > - Map<
String, Map< ? futureSearchFilterOptions,String, Object> > - List<
T> ? futureSelectedValues, - dynamic emptyListWidget,
- Function? onTap,
- Function? futureSearchRetryButton,
- int? searchDelay,
- required Function giveMeThePop,
- Widget? clearSearchIcon,
- String? listValidator(
- List<
T?>
- List<
- Widget buildFutureFilterOrOrderButton({})?,
- Widget searchResultDisplayFn({
- required Widget displayItem(
- DropdownMenuItem item,
- bool isItemSelected
- required Widget emptyListWidget,
- required void itemTapped(),
- required List<
Tuple3< itemsToDisplay,int, DropdownMenuItem, bool> > - required ScrollController scrollController,
- required bool thumbVisibility,
- required Widget displayItem(
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,
this.buildFutureFilterOrOrderButton,
this.searchResultDisplayFn,
}) : super(key: key);