CometChatSearchStyle constructor

const CometChatSearchStyle({
  1. Color? backgroundColor,
  2. Color? searchBackgroundColor,
  3. Color? searchTextColor,
  4. TextStyle? searchTextStyle,
  5. Color? searchPlaceHolderTextColor,
  6. TextStyle? searchPlaceHolderTextStyle,
  7. BorderSide? searchBorder,
  8. BorderRadius? searchBorderRadius,
  9. Color? searchBackIconColor,
  10. Color? searchClearIconColor,
  11. Color? searchFilterChipBackgroundColor,
  12. Color? searchFilterChipSelectedBackgroundColor,
  13. Color? searchFilterChipTextColor,
  14. Color? searchFilterChipSelectedTextColor,
  15. TextStyle? searchFilterChipTextStyle,
  16. TextStyle? searchFilterChipSelectedTextStyle,
  17. BoxBorder? searchFilterChipBorder,
  18. BoxBorder? searchFilterChipSelectedBorder,
  19. BorderRadius? searchFilterChipBorderRadius,
  20. Color? searchFilterIconColor,
  21. Color? searchFilterSelectedIconColor,
  22. Color? sectionHeaderTextColor,
  23. TextStyle? sectionHeaderTextStyle,
  24. Color? searchConversationTitleTextColor,
  25. TextStyle? searchConversationTitleTextStyle,
  26. Color? searchConversationSubtitleTextColor,
  27. TextStyle? searchConversationSubtitleTextStyle,
  28. Color? searchConversationItemBackgroundColor,
  29. Color? searchMessageSenderTextColor,
  30. TextStyle? searchMessageSenderTextStyle,
  31. Color? searchMessagePreviewTextColor,
  32. TextStyle? searchMessagePreviewTextStyle,
  33. Color? searchMessageDateTextColor,
  34. TextStyle? searchMessageDateTextStyle,
  35. Color? emptyStateTextColor,
  36. TextStyle? emptyStateTextStyle,
  37. Color? emptyStateSubTitleTextColor,
  38. TextStyle? emptyStateSubTitleTextStyle,
  39. Color? errorStateTextColor,
  40. TextStyle? errorStateTextStyle,
  41. Color? errorStateSubTitleTextColor,
  42. TextStyle? errorStateSubTitleTextStyle,
  43. Color? seeMoreTextColor,
  44. TextStyle? seeMoreTextStyle,
  45. CometChatAvatarStyle? avatarStyle,
  46. CometChatStatusIndicatorStyle? statusIndicatorStyle,
  47. CometChatBadgeStyle? badgeStyle,
  48. CometChatMessageReceiptStyle? receiptStyle,
  49. CometChatDateStyle? dateStyle,
})

Implementation

const CometChatSearchStyle({
  this.backgroundColor,
  // Search bar
  this.searchBackgroundColor,
  this.searchTextColor,
  this.searchTextStyle,
  this.searchPlaceHolderTextColor,
  this.searchPlaceHolderTextStyle,
  this.searchBorder,
  this.searchBorderRadius,
  this.searchBackIconColor,
  this.searchClearIconColor,
  // Filter chips
  this.searchFilterChipBackgroundColor,
  this.searchFilterChipSelectedBackgroundColor,
  this.searchFilterChipTextColor,
  this.searchFilterChipSelectedTextColor,
  this.searchFilterChipTextStyle,
  this.searchFilterChipSelectedTextStyle,
  this.searchFilterChipBorder,
  this.searchFilterChipSelectedBorder,
  this.searchFilterChipBorderRadius,
  this.searchFilterIconColor,
  this.searchFilterSelectedIconColor,
  // Section headers
  this.sectionHeaderTextColor,
  this.sectionHeaderTextStyle,
  // Conversation items
  this.searchConversationTitleTextColor,
  this.searchConversationTitleTextStyle,
  this.searchConversationSubtitleTextColor,
  this.searchConversationSubtitleTextStyle,
  this.searchConversationItemBackgroundColor,
  // Message items
  this.searchMessageSenderTextColor,
  this.searchMessageSenderTextStyle,
  this.searchMessagePreviewTextColor,
  this.searchMessagePreviewTextStyle,
  this.searchMessageDateTextColor,
  this.searchMessageDateTextStyle,
  // State views
  this.emptyStateTextColor,
  this.emptyStateTextStyle,
  this.emptyStateSubTitleTextColor,
  this.emptyStateSubTitleTextStyle,
  this.errorStateTextColor,
  this.errorStateTextStyle,
  this.errorStateSubTitleTextColor,
  this.errorStateSubTitleTextStyle,
  // See more
  this.seeMoreTextColor,
  this.seeMoreTextStyle,
  // Nested styles
  this.avatarStyle,
  this.statusIndicatorStyle,
  this.badgeStyle,
  this.receiptStyle,
  this.dateStyle,
});