contentShape property

  1. @override
ShapeBorder? contentShape
final

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;