DropDown constructor
DropDown({
- Key? key,
- required List<
SelectedListItem> data, - SelectedItemsCallBack? selectedItems,
- ListItemBuilder? listItemBuilder,
- bool enableMultipleSelection = false,
- Widget? bottomSheetTitle,
- bool isDismissible = true,
- Widget? submitButtonChild,
- Widget? clearButtonChild,
- TextFormField? searchWidget,
- EdgeInsets? searchPadding,
- String? searchHintText = 'Search',
- bool isSearchVisible = true,
- Color dropDownBackgroundColor = Colors.transparent,
- BottomSheetListener? bottomSheetListener,
Implementation
DropDown({
Key? key,
required this.data,
this.selectedItems,
this.listItemBuilder,
this.enableMultipleSelection = false,
this.bottomSheetTitle,
this.isDismissible = true,
this.submitButtonChild,
this.clearButtonChild,
this.searchWidget,
this.searchPadding,
this.searchHintText = 'Search',
this.isSearchVisible = true,
this.dropDownBackgroundColor = Colors.transparent,
this.bottomSheetListener,
});