NmAgentChat constructor

const NmAgentChat({
  1. Key? key,
  2. required List<NmAgentMessage> messages,
  3. required ValueChanged<String> onSend,
  4. List<NmChatAttachAction> attachActions = const [],
  5. String? dayLabel,
  6. Widget? header,
})

Creates an NmAgentChat.

Implementation

const NmAgentChat({super.key, required this.messages, required this.onSend, this.attachActions = const [], this.dayLabel, this.header});