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. String? searchHintText = 'Search',
  12. bool isSearchVisible = true,
  13. Color dropDownBackgroundColor = Colors.transparent,
  14. 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.searchHintText = 'Search',
  this.isSearchVisible = true,
  this.dropDownBackgroundColor = Colors.transparent,
  this.bottomSheetListener,
});