ChatTimeline constructor
const
ChatTimeline({
- Key? key,
- required List<
ChatMessageView> messages, - String agentName = 'Codex',
- bool hasActiveSession = false,
- String? activeSessionLabel,
- bool isLoadingSession = false,
- int messageListRevision = 0,
- bool showNewSessionAction = false,
- VoidCallback? onNewSession,
- MarkdownTapLinkCallback? onTapLink,
- ChatInputBudget inputBudget = const ChatInputBudget(),
- ChatImageDecodeBudgetLedger? imageDecodeLedger,
- BoundedImageDecoder boundedImageDecoder = const DartUiBoundedImageDecoder(),
- ToolPresentationRegistry? toolPresentationRegistry,
Implementation
const ChatTimeline({
super.key,
required this.messages,
this.agentName = 'Codex',
this.hasActiveSession = false,
this.activeSessionLabel,
this.isLoadingSession = false,
this.messageListRevision = 0,
this.showNewSessionAction = false,
this.onNewSession,
this.onTapLink,
this.inputBudget = const ChatInputBudget(),
this.imageDecodeLedger,
this.boundedImageDecoder = const DartUiBoundedImageDecoder(),
this.toolPresentationRegistry,
});