CustomDropdownDecoration constructor
const
CustomDropdownDecoration({
- Color? closedFillColor,
- Color? expandedFillColor,
- List<
BoxShadow> ? closedShadow, - List<
BoxShadow> ? expandedShadow, - Widget? closedSuffixIcon,
- Widget? expandedSuffixIcon,
- Widget? prefixIcon,
- BoxBorder? closedBorder,
- BorderRadius? closedBorderRadius,
- double? closedHeaderHeight,
- BoxBorder? closedErrorBorder,
- BorderRadius? closedErrorBorderRadius,
- BoxBorder? expandedBorder,
- BorderRadius? expandedBorderRadius,
- TextStyle? hintStyle,
- TextStyle? labelStyle,
- TextStyle? floatingLabelStyle,
- FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
- double floatingLabelGap = 16,
- TextStyle? headerStyle,
- TextStyle? noResultFoundStyle,
- TextStyle? errorStyle,
- TextStyle? listItemStyle,
- ScrollbarThemeData? overlayScrollbarDecoration,
- SearchFieldDecoration? searchFieldDecoration,
- ListItemDecoration? listItemDecoration,
Implementation
const CustomDropdownDecoration({
this.closedFillColor,
this.expandedFillColor,
this.closedShadow,
this.expandedShadow,
this.closedSuffixIcon,
this.expandedSuffixIcon,
this.prefixIcon,
this.closedBorder,
this.closedBorderRadius,
this.closedHeaderHeight,
this.closedErrorBorder,
this.closedErrorBorderRadius,
this.expandedBorder,
this.expandedBorderRadius,
this.hintStyle,
this.labelStyle,
this.floatingLabelStyle,
this.floatingLabelBehavior = FloatingLabelBehavior.auto,
this.floatingLabelGap = 16,
this.headerStyle,
this.noResultFoundStyle,
this.errorStyle,
this.listItemStyle,
this.overlayScrollbarDecoration,
this.searchFieldDecoration,
this.listItemDecoration,
});