S360fSearchableDropDown constructor

const S360fSearchableDropDown({
  1. required List<DropDownDataModel> items,
  2. required ValueChanged<Object?> onChanged,
  3. ValueChanged<String?>? onSearchChanged,
  4. Key? key,
  5. String? label = '',
  6. bool readOnly = false,
  7. DropDownDataModel? value,
  8. bool isRequired = false,
  9. bool isError = false,
  10. bool isFullWidth = false,
  11. bool isNetworkSearch = false,
  12. bool isNetworkSearchLoading = false,
  13. String? errorMessage = '',
  14. String? searchHint = 'Search options',
  15. Color? backgroundColor,
  16. double maxTextFieldHeight = 40.0,
  17. bool disabled = false,
  18. String? hint = 'Select an option',
  19. String? tooltipMessage,
  20. Widget? tooltipIcon,
  21. Color? tooltipIconColor,
})

Implementation

const S360fSearchableDropDown({
  required this.items,
  required this.onChanged,
  this.onSearchChanged,
  super.key,
  this.label = '',
  this.readOnly = false,
  this.value,
  this.isRequired = false,
  this.isError = false,
  this.isFullWidth = false,
  this.isNetworkSearch = false,
  this.isNetworkSearchLoading = false,
  this.errorMessage = '',
  this.searchHint = 'Search options',
  this.backgroundColor,
  this.maxTextFieldHeight = 40.0,
  this.disabled = false,
  this.hint = 'Select an option',
  this.tooltipMessage,
  this.tooltipIcon,
  this.tooltipIconColor,
});