AgentChatView constructor
const
AgentChatView({
- Key? key,
- required ChatSession session,
- MarkdownTapLinkCallback? onTapLink,
- VoidCallback? onNewSession,
- PromptAttachmentController? attachmentController,
- PromptAttachmentPicker? pickAttachments,
- PromptAttachmentKindPicker? pickAttachmentsForKind,
- PromptImageClipboardReader? readClipboardImage,
- PromptDroppedImageReader? readDroppedImage,
- ChatImageDecodeBudgetLedger? imageDecodeLedger,
- BoundedImageDecoder boundedImageDecoder = const DartUiBoundedImageDecoder(),
- ToolPresentationRegistry? toolPresentationRegistry,
- ChatPartBuilder? timelineBuilder,
- ChatPartBuilder? composerBuilder,
- bool showError = true,
Implementation
const AgentChatView({
super.key,
required this.session,
this.onTapLink,
this.onNewSession,
this.attachmentController,
this.pickAttachments,
this.pickAttachmentsForKind,
this.readClipboardImage,
this.readDroppedImage,
this.imageDecodeLedger,
this.boundedImageDecoder = const DartUiBoundedImageDecoder(),
this.toolPresentationRegistry,
this.timelineBuilder,
this.composerBuilder,
this.showError = true,
});