contentShape property
Shape of the message content, including border radius.
Defaults to null
.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
incomingBubbleSettings: ChatBubbleSettings(
contentShape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0),
),
),
outgoingBubbleSettings: ChatBubbleSettings(
contentShape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0),
),
),
);
}
Implementation
final ShapeBorder? contentShape;