Spinner constructor
Spinner({
- Key? key,
- required List<
SpinnerListItem> data, - dynamic selectedItems()?,
- Widget listBuilder(
- int index
- bool enableMultipleSelection = false,
- Widget? bottomSheetTitle,
- Widget? submitButtonChild,
- TextFormField? searchWidget,
- bool isSearchVisible = true,
- 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,
});