textStyle property

TextStyle? textStyle
final

Style for the chat bubble's text.

Defaults to null.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      textStyle: TextStyle(fontSize: 14),
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      textStyle: TextStyle(fontSize: 14),
    ),
  );
}

Implementation

final TextStyle? textStyle;