contentBackgroundColor property

Color? contentBackgroundColor
final

Background color of the message content.

Defaults to null.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      contentBackgroundColor: Colors.grey[200],
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      contentBackgroundColor: Colors.grey[400],
    ),
  );
}

Implementation

final Color? contentBackgroundColor;