headerTextStyle property
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;