CometChatSearchStyle constructor
const
CometChatSearchStyle({
- Color? backgroundColor,
- Color? searchBackgroundColor,
- Color? searchTextColor,
- TextStyle? searchTextStyle,
- Color? searchPlaceHolderTextColor,
- TextStyle? searchPlaceHolderTextStyle,
- BorderSide? searchBorder,
- BorderRadius? searchBorderRadius,
- Color? searchBackIconColor,
- Color? searchClearIconColor,
- Color? searchFilterChipBackgroundColor,
- Color? searchFilterChipSelectedBackgroundColor,
- Color? searchFilterChipTextColor,
- Color? searchFilterChipSelectedTextColor,
- TextStyle? searchFilterChipTextStyle,
- TextStyle? searchFilterChipSelectedTextStyle,
- BoxBorder? searchFilterChipBorder,
- BoxBorder? searchFilterChipSelectedBorder,
- BorderRadius? searchFilterChipBorderRadius,
- Color? searchFilterIconColor,
- Color? searchFilterSelectedIconColor,
- Color? sectionHeaderTextColor,
- TextStyle? sectionHeaderTextStyle,
- Color? searchConversationTitleTextColor,
- TextStyle? searchConversationTitleTextStyle,
- Color? searchConversationSubtitleTextColor,
- TextStyle? searchConversationSubtitleTextStyle,
- Color? searchConversationItemBackgroundColor,
- Color? searchMessageSenderTextColor,
- TextStyle? searchMessageSenderTextStyle,
- Color? searchMessagePreviewTextColor,
- TextStyle? searchMessagePreviewTextStyle,
- Color? searchMessageDateTextColor,
- TextStyle? searchMessageDateTextStyle,
- Color? emptyStateTextColor,
- TextStyle? emptyStateTextStyle,
- Color? emptyStateSubTitleTextColor,
- TextStyle? emptyStateSubTitleTextStyle,
- Color? errorStateTextColor,
- TextStyle? errorStateTextStyle,
- Color? errorStateSubTitleTextColor,
- TextStyle? errorStateSubTitleTextStyle,
- Color? seeMoreTextColor,
- TextStyle? seeMoreTextStyle,
- CometChatAvatarStyle? avatarStyle,
- CometChatStatusIndicatorStyle? statusIndicatorStyle,
- CometChatBadgeStyle? badgeStyle,
- CometChatMessageReceiptStyle? receiptStyle,
- 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,
});