PrismAiMessageBubble constructor

const PrismAiMessageBubble({
  1. Key? key,
  2. required AiChatMessage message,
  3. bool isStreaming = false,
  4. bool markdownAssistant = true,
  5. String? thinkingLabel,
  6. double maxWidth = 560,
  7. VoidCallback? onCopy,
  8. VoidCallback? onRegenerate,
  9. void onToolCallTap(
    1. AiToolCallRequest call
    )?,
})

Creates a chat bubble for message.

Implementation

const PrismAiMessageBubble({
  super.key,
  required this.message,
  this.isStreaming = false,
  this.markdownAssistant = true,
  this.thinkingLabel,
  this.maxWidth = 560,
  this.onCopy,
  this.onRegenerate,
  this.onToolCallTap,
});