ChatTheme constructor
const
ChatTheme({
- Color? backgroundColor,
- Color? outgoingBubbleColor,
- Color? incomingBubbleColor,
- TextStyle? outgoingTextStyle,
- TextStyle? incomingTextStyle,
- TextStyle? linkStyle,
- TextStyle? codeTextStyle,
- TextStyle? timestampTextStyle,
- TextStyle? userNameTextStyle,
- TextStyle? dateSeparatorTextStyle,
- Color? dateSeparatorColor,
- Color? unreadSeparatorColor,
- TextStyle? systemMessageTextStyle,
- double? bubbleRadius,
- double? bubbleGroupedRadius,
- EdgeInsetsGeometry? bubblePadding,
- ChatBubbleTail? bubbleTail,
- double? bubbleTailWidth,
- double? bubbleTailHeight,
- double? bubbleElevation,
- Color? bubbleShadowColor,
- BorderSide? outgoingBubbleBorderSide,
- BorderSide? incomingBubbleBorderSide,
- double? maxBubbleWidth,
- double? maxBubbleWidthFactor,
- double? avatarSize,
- Color? reactionChipColor,
- Color? reactionChipSelectedColor,
- Color? highlightColor,
- Color? inputBackgroundColor,
- Color? inputFieldColor,
- TextStyle? inputTextStyle,
- TextStyle? inputHintStyle,
- Color? sendButtonColor,
- Color? sendButtonIconColor,
- Color? readStatusColor,
- Color? errorColor,
- Color? typingIndicatorColor,
- Color? scrollButtonColor,
- Color? scrollButtonIconColor,
- Color? unreadBadgeColor,
- Color? unreadBadgeTextColor,
Creates a set of theme overrides.
Implementation
const ChatTheme({
this.backgroundColor,
this.outgoingBubbleColor,
this.incomingBubbleColor,
this.outgoingTextStyle,
this.incomingTextStyle,
this.linkStyle,
this.codeTextStyle,
this.timestampTextStyle,
this.userNameTextStyle,
this.dateSeparatorTextStyle,
this.dateSeparatorColor,
this.unreadSeparatorColor,
this.systemMessageTextStyle,
this.bubbleRadius,
this.bubbleGroupedRadius,
this.bubblePadding,
this.bubbleTail,
this.bubbleTailWidth,
this.bubbleTailHeight,
this.bubbleElevation,
this.bubbleShadowColor,
this.outgoingBubbleBorderSide,
this.incomingBubbleBorderSide,
this.maxBubbleWidth,
this.maxBubbleWidthFactor,
this.avatarSize,
this.reactionChipColor,
this.reactionChipSelectedColor,
this.highlightColor,
this.inputBackgroundColor,
this.inputFieldColor,
this.inputTextStyle,
this.inputHintStyle,
this.sendButtonColor,
this.sendButtonIconColor,
this.readStatusColor,
this.errorColor,
this.typingIndicatorColor,
this.scrollButtonColor,
this.scrollButtonIconColor,
this.unreadBadgeColor,
this.unreadBadgeTextColor,
});