SmartSearchTheme constructor

const SmartSearchTheme({
  1. Color? searchBoxBackgroundColor,
  2. Color? searchBoxTextColor,
  3. Color? searchBoxHintColor,
  4. Color? searchBoxBorderColor,
  5. Color? searchBoxFocusedBorderColor,
  6. Color? searchBoxIconColor,
  7. Color? searchBoxCursorColor,
  8. BorderRadius? searchBoxBorderRadius,
  9. double? searchBoxElevation,
  10. Color? searchBoxShadowColor,
  11. Color? overlayBackgroundColor,
  12. Color? overlayBorderColor,
  13. BorderRadius? overlayBorderRadius,
  14. double? overlayElevation,
  15. Color? overlayShadowColor,
  16. Color? itemBackgroundColor,
  17. Color? itemHoverColor,
  18. Color? itemFocusedColor,
  19. Color? itemSelectedColor,
  20. Color? itemTextColor,
  21. Color? itemSubtitleColor,
  22. Color? itemIconColor,
  23. Color? itemDividerColor,
  24. Color? loadingIndicatorColor,
  25. Color? emptyStateIconColor,
  26. Color? emptyStateTextColor,
  27. Color? errorIconColor,
  28. Color? errorTextColor,
  29. Color? errorButtonColor,
  30. Color? scrollbarColor,
  31. double? scrollbarThickness,
  32. Radius? scrollbarRadius,
})

Creates a SmartSearchTheme with the given properties.

Implementation

const SmartSearchTheme({
  // Search Box
  this.searchBoxBackgroundColor,
  this.searchBoxTextColor,
  this.searchBoxHintColor,
  this.searchBoxBorderColor,
  this.searchBoxFocusedBorderColor,
  this.searchBoxIconColor,
  this.searchBoxCursorColor,
  this.searchBoxBorderRadius,
  this.searchBoxElevation,
  this.searchBoxShadowColor,

  // Overlay
  this.overlayBackgroundColor,
  this.overlayBorderColor,
  this.overlayBorderRadius,
  this.overlayElevation,
  this.overlayShadowColor,

  // Items
  this.itemBackgroundColor,
  this.itemHoverColor,
  this.itemFocusedColor,
  this.itemSelectedColor,
  this.itemTextColor,
  this.itemSubtitleColor,
  this.itemIconColor,
  this.itemDividerColor,

  // States
  this.loadingIndicatorColor,
  this.emptyStateIconColor,
  this.emptyStateTextColor,
  this.errorIconColor,
  this.errorTextColor,
  this.errorButtonColor,

  // Scrollbar
  this.scrollbarColor,
  this.scrollbarThickness,
  this.scrollbarRadius,
});