backgroundColor property

  1. @override
Color? backgroundColor
final

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

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    requestMessageSettings: const AssistBubbleSettings(
      backgroundColor: Colors.blue,
    ),
    responseMessageSettings: const AssistBubbleSettings(
      backgroundColor: Colors.blue,
    ),
  );
}

Implementation

@override
final Color? backgroundColor;