headerTextStyle property

TextStyle? headerTextStyle
final

Style for the header text in the chat bubble.

Defaults to null.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      headerTextStyle: TextStyle(fontWeight: FontWeight.bold),
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      headerTextStyle: TextStyle(fontWeight: FontWeight.bold),
    ),
  );
}

Implementation

final TextStyle? headerTextStyle;