contentBackgroundColor property

  1. @override
Color? contentBackgroundColor
final

Used to set background color for the request and response bubble content.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    requestBubbleSettings: const AssistBubbleSettings(
      contentBackgroundColor: Colors.blue,
    ),
    responseBubbleSettings: const AssistBubbleSettings(
      contentBackgroundColor: Colors.blue,
    ),
  );
}

Implementation

@override
final Color? contentBackgroundColor;