AgentConversation constructor
const
AgentConversation({
- Key? key,
- required List<
Widget> children, - Widget? empty,
- AgentLiveEdgeController? liveEdge,
- ScrollController? scrollController,
- bool busy = false,
- String busyLabel = 'Busy',
- String semanticLabel = 'Conversation',
- bool showLatestButton = true,
- String latestLabel = 'Scroll to latest',
- AgentGlyphBuilder? glyphBuilder,
- IconButtonStyler latestStyle = const IconButtonStyler.create(),
- AgentConversationStyler style = const AgentConversationStyler.create(),
- AgentConversationSpec? styleSpec,
Creates a transcript of children, one per turn.
Implementation
const AgentConversation({
super.key,
required List<Widget> this.children,
this.empty,
this.liveEdge,
this.scrollController,
this.busy = false,
this.busyLabel = 'Busy',
this.semanticLabel = 'Conversation',
this.showLatestButton = true,
this.latestLabel = 'Scroll to latest',
this.glyphBuilder,
this.latestStyle = const IconButtonStyler.create(),
this.style = const AgentConversationStyler.create(),
this.styleSpec,
}) : itemCount = null,
itemBuilder = null,
findChildIndexCallback = null;