PrismAiMessageBubble constructor
- Key? key,
- required AiChatMessage message,
- bool isStreaming = false,
- bool markdownAssistant = true,
- String? thinkingLabel,
- double maxWidth = 560,
- VoidCallback? onCopy,
- VoidCallback? onRegenerate,
- void onToolCallTap(
- 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,
});