CustomDropdownDecoration constructor

const CustomDropdownDecoration({
  1. Color? closedFillColor,
  2. Color? expandedFillColor,
  3. List<BoxShadow>? closedShadow,
  4. List<BoxShadow>? expandedShadow,
  5. Widget? closedSuffixIcon,
  6. Widget? expandedSuffixIcon,
  7. Widget? prefixIcon,
  8. BoxBorder? closedBorder,
  9. BorderRadius? closedBorderRadius,
  10. double? closedHeaderHeight,
  11. BoxBorder? closedErrorBorder,
  12. BorderRadius? closedErrorBorderRadius,
  13. BoxBorder? expandedBorder,
  14. BorderRadius? expandedBorderRadius,
  15. TextStyle? hintStyle,
  16. TextStyle? labelStyle,
  17. TextStyle? floatingLabelStyle,
  18. FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto,
  19. double floatingLabelGap = 16,
  20. TextStyle? headerStyle,
  21. TextStyle? noResultFoundStyle,
  22. TextStyle? errorStyle,
  23. TextStyle? listItemStyle,
  24. ScrollbarThemeData? overlayScrollbarDecoration,
  25. SearchFieldDecoration? searchFieldDecoration,
  26. 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,
});