ChatThreadMessages constructor

const ChatThreadMessages({
  1. Key? key,
  2. required RoomClient room,
  3. required String path,
  4. required List<MeshElement> messages,
  5. required List<Participant> online,
  6. bool startChatCentered = false,
  7. bool showTyping = false,
  8. bool showListening = false,
  9. String? threadStatus,
  10. String? threadStatusMode,
  11. void onCancel()?,
  12. String? agentName,
  13. Widget messageHeaderBuilder(
    1. BuildContext,
    2. MeshDocument,
    3. MeshElement
    )?,
  14. Widget fileInThreadBuilder(
    1. BuildContext context,
    2. String path
    )?,
  15. OutboundEntry? currentStatusEntry,
  16. Map<String, MessageBuilder>? messageBuilders,
})

Implementation

const ChatThreadMessages({
  super.key,
  required this.room,
  required this.path,
  required this.messages,
  required this.online,

  this.startChatCentered = false,
  this.showTyping = false,
  this.showListening = false,
  this.threadStatus,
  this.threadStatusMode,
  this.onCancel,
  this.agentName,
  this.messageHeaderBuilder,
  this.fileInThreadBuilder,
  this.currentStatusEntry,
  this.messageBuilders,
});