Spinner constructor

Spinner({
  1. Key? key,
  2. required List<SpinnerListItem> data,
  3. dynamic selectedItems(
    1. List
    )?,
  4. Widget listBuilder(
    1. int index
    )?,
  5. bool enableMultipleSelection = false,
  6. Widget? bottomSheetTitle,
  7. Widget? submitButtonChild,
  8. TextFormField? searchWidget,
  9. bool isSearchVisible = true,
  10. Color dropDownBackgroundColor = Colors.transparent,
})

Implementation

Spinner({
  Key? key,
  required this.data,
  this.selectedItems,
  this.listBuilder,
  this.enableMultipleSelection = false,
  this.bottomSheetTitle,
  this.submitButtonChild,
  this.searchWidget,
  this.isSearchVisible = true,
  this.dropDownBackgroundColor = Colors.transparent,
});