DropDown constructor

DropDown({
  1. Key? key,
  2. required List<SelectedListItem> data,
  3. SelectedItemsCallBack? selectedItems,
  4. ListItemBuilder? listItemBuilder,
  5. bool enableMultipleSelection = false,
  6. Widget? bottomSheetTitle,
  7. bool isDismissible = true,
  8. Widget? submitButtonChild,
  9. Widget? clearButtonChild,
  10. TextFormField? searchWidget,
  11. EdgeInsets? searchPadding,
  12. String? searchHintText = 'Search',
  13. bool isSearchVisible = true,
  14. Color dropDownBackgroundColor = Colors.transparent,
  15. 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,
});