RoomDatasetChatThread constructor
const
RoomDatasetChatThread({
- Key? key,
- required RoomClient room,
- required String path,
- ChatThreadController? controller,
- GlobalKey<
State< ? composerKey,StatefulWidget> > - String? agentName,
- String? emptyStateTitle,
- String? emptyStateDescription,
- FutureOr<
void> openFile(- String path
- DatasetChatAttachmentRenderer? attachmentRenderer,
- Widget toolsBuilder()?,
- Widget? inputPlaceholder,
- Widget attachmentBuilder(
- BuildContext context,
- FileAttachment upload
- ChatThreadCustomInputBuilder? customInputBuilder,
- EditableTextContextMenuBuilder? inputContextMenuBuilder,
- TapRegionCallback? inputOnPressedOutside,
- FileDropOverlayBuilder? fileDropOverlayBuilder,
- DatasetChatModelController? modelController,
- bool initialShowCompletedToolCalls = false,
Implementation
const RoomDatasetChatThread({
super.key,
required this.room,
required this.path,
this.controller,
this.composerKey,
this.agentName,
this.emptyStateTitle,
this.emptyStateDescription,
this.openFile,
this.attachmentRenderer,
this.toolsBuilder,
this.inputPlaceholder,
this.attachmentBuilder,
this.customInputBuilder,
this.inputContextMenuBuilder,
this.inputOnPressedOutside,
this.fileDropOverlayBuilder,
this.modelController,
this.initialShowCompletedToolCalls = false,
this.showUsageFooter = false,
});