ChatTimeline constructor

const ChatTimeline({
  1. Key? key,
  2. required List<ChatMessageView> messages,
  3. String agentName = 'Codex',
  4. bool hasActiveSession = false,
  5. String? activeSessionLabel,
  6. bool isLoadingSession = false,
  7. int messageListRevision = 0,
  8. bool showNewSessionAction = false,
  9. VoidCallback? onNewSession,
  10. MarkdownTapLinkCallback? onTapLink,
  11. ChatInputBudget inputBudget = const ChatInputBudget(),
  12. ChatImageDecodeBudgetLedger? imageDecodeLedger,
  13. BoundedImageDecoder boundedImageDecoder = const DartUiBoundedImageDecoder(),
  14. 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,
});