ChatTheme constructor

const ChatTheme({
  1. Color? backgroundColor,
  2. Color? outgoingBubbleColor,
  3. Color? incomingBubbleColor,
  4. TextStyle? outgoingTextStyle,
  5. TextStyle? incomingTextStyle,
  6. TextStyle? linkStyle,
  7. TextStyle? codeTextStyle,
  8. TextStyle? timestampTextStyle,
  9. TextStyle? userNameTextStyle,
  10. TextStyle? dateSeparatorTextStyle,
  11. Color? dateSeparatorColor,
  12. Color? unreadSeparatorColor,
  13. TextStyle? systemMessageTextStyle,
  14. double? bubbleRadius,
  15. double? bubbleGroupedRadius,
  16. EdgeInsetsGeometry? bubblePadding,
  17. ChatBubbleTail? bubbleTail,
  18. double? bubbleTailWidth,
  19. double? bubbleTailHeight,
  20. double? bubbleElevation,
  21. Color? bubbleShadowColor,
  22. BorderSide? outgoingBubbleBorderSide,
  23. BorderSide? incomingBubbleBorderSide,
  24. double? maxBubbleWidth,
  25. double? maxBubbleWidthFactor,
  26. double? avatarSize,
  27. Color? reactionChipColor,
  28. Color? reactionChipSelectedColor,
  29. Color? highlightColor,
  30. Color? inputBackgroundColor,
  31. Color? inputFieldColor,
  32. TextStyle? inputTextStyle,
  33. TextStyle? inputHintStyle,
  34. Color? sendButtonColor,
  35. Color? sendButtonIconColor,
  36. Color? readStatusColor,
  37. Color? errorColor,
  38. Color? typingIndicatorColor,
  39. Color? scrollButtonColor,
  40. Color? scrollButtonIconColor,
  41. Color? unreadBadgeColor,
  42. 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,
});