contentShape property
To set the custom shape of the request and response bubble.
Example:
@override
Widget build(BuildContext context) {
return SfAIAssistView(
requestBubbleSettings: const AssistBubbleSettings(
contentShape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0),
),
),
responseBubbleSettings: const AssistBubbleSettings(
contentShape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0),
),
),
);
}
Implementation
@override
final ShapeBorder? contentShape;