SmartSearchTheme constructor
const
SmartSearchTheme({
- Color? searchBoxBackgroundColor,
- Color? searchBoxTextColor,
- Color? searchBoxHintColor,
- Color? searchBoxBorderColor,
- Color? searchBoxFocusedBorderColor,
- Color? searchBoxIconColor,
- Color? searchBoxCursorColor,
- BorderRadius? searchBoxBorderRadius,
- double? searchBoxElevation,
- Color? searchBoxShadowColor,
- Color? overlayBackgroundColor,
- Color? overlayBorderColor,
- BorderRadius? overlayBorderRadius,
- double? overlayElevation,
- Color? overlayShadowColor,
- Color? itemBackgroundColor,
- Color? itemHoverColor,
- Color? itemFocusedColor,
- Color? itemSelectedColor,
- Color? itemTextColor,
- Color? itemSubtitleColor,
- Color? itemIconColor,
- Color? itemDividerColor,
- Color? loadingIndicatorColor,
- Color? emptyStateIconColor,
- Color? emptyStateTextColor,
- Color? errorIconColor,
- Color? errorTextColor,
- Color? errorButtonColor,
- Color? scrollbarColor,
- double? scrollbarThickness,
- 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,
});