headerTextStyle property

  1. @override
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

@override
final TextStyle? headerTextStyle;