CustomDropdown.search constructor
CustomDropdown.search({
- Key? key,
- Widget? label,
- String? labelText,
- TextStyle? labelStyle,
- List<
Map< ? items,String, dynamic> > - String? nameKey,
- String? nameMapKey,
- String? hintText,
- Map<
String, dynamic> ? selectedValue, - TextStyle? hintStyle,
- TextStyle? selectedStyle,
- String? errorText,
- TextStyle? errorStyle,
- TextStyle? listItemStyle,
- BorderSide? errorBorderSide,
- Map<
String, String> ? headers, - BorderRadius? borderRadius,
- BorderSide? borderSide,
- Widget? basicWidget,
- Widget? fieldSuffixIcon,
- Widget? fieldPrefixIcon,
- dynamic onChanged()?,
- void onRemoveClicked()?,
- EdgeInsets? contentPadding,
- double? customOverRelayWidth,
- bool? excludeSelected = false,
- bool? canCloseOutsideBounds = true,
- Color? fillColor = Colors.white,
- String? validator()?,
- AutovalidateMode? autovalidateMode,
- String? searchHintText,
Implementation
CustomDropdown.search({
super.key,
this.label,
this.labelText,
this.labelStyle,
this.items,
this.nameKey,
this.nameMapKey,
this.hintText,
this.selectedValue,
this.hintStyle,
this.selectedStyle,
this.errorText,
this.errorStyle,
this.listItemStyle,
this.errorBorderSide,
this.headers,
this.borderRadius,
this.borderSide,
this.basicWidget,
this.fieldSuffixIcon,
this.fieldPrefixIcon,
this.onChanged,
this.onRemoveClicked,
this.contentPadding,
this.customOverRelayWidth,
this.excludeSelected = false,
this.canCloseOutsideBounds = true,
this.fillColor = Colors.white,
this.validator,
this.autovalidateMode,
this.searchHintText,
}) : searchType = SearchType.onListData;