S360fSearchableDropDown constructor
const
S360fSearchableDropDown({
- required List<
DropDownDataModel> items, - required ValueChanged<
Object?> onChanged, - ValueChanged<
String?> ? onSearchChanged, - Key? key,
- String? label = '',
- bool readOnly = false,
- DropDownDataModel? value,
- bool isRequired = false,
- bool isError = false,
- bool isFullWidth = false,
- bool isNetworkSearch = false,
- bool isNetworkSearchLoading = false,
- String? errorMessage = '',
- String? searchHint = 'Search options',
- Color? backgroundColor,
- double maxTextFieldHeight = 40.0,
- bool disabled = false,
- String? hint = 'Select an option',
- String? tooltipMessage,
- Widget? tooltipIcon,
- 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,
});