SelectPickerInput constructor

const SelectPickerInput({
  1. Key? key,
  2. required List<SelectPickerItem> list,
  3. required SelectPickerInputStyle selectPickerInputStyle,
  4. required bool selectFirst,
  5. required dynamic onSelect(
    1. SelectPickerItem
    ),
  6. required String hint,
  7. required SelectPickerBottomSheetStyle selectPickerBottomSheetStyle,
  8. required SelectPickerInputSearchStyle selectPickerInputSearchStyle,
  9. required SelectPickerCardItemStyle selectPickerCardItemStyle,
  10. required SelectPickerTopSelectorStyle selectPickertopSelectorStyle,
  11. String? hintSearch,
  12. bool? showId,
  13. Future<List<SelectPickerItem>> onSearch(
    1. String? text
    )?,
  14. dynamic onClose()?,
  15. bool? disabled,
  16. String? inputError,
  17. bool? isLoading,
  18. String? loadingMessage,
  19. String? initialItem,
})

Implementation

const SelectPickerInput({
  super.key,
  required this.list,
  required this.selectPickerInputStyle,
  required this.selectFirst,
  required this.onSelect,
  required this.hint,
  required this.selectPickerBottomSheetStyle,
  required this.selectPickerInputSearchStyle,
  required this.selectPickerCardItemStyle,
  required this.selectPickertopSelectorStyle,
  this.hintSearch,
  this.showId,
  this.onSearch,
  this.onClose,
  this.disabled,
  this.inputError,
  this.isLoading,
  this.loadingMessage,
  this.initialItem,
});