ChatThread constructor
const
ChatThread({
- Key? key,
- required String path,
- required MeshDocument document,
- required RoomClient room,
- bool startChatCentered = false,
- Widget participantNameBuilder()?,
- ChatMessage? initialMessage,
- void onMessageSent(
- ChatMessage message
- ChatThreadController? controller,
- Widget waitingForParticipantsBuilder()?,
- Widget attachmentBuilder(
- BuildContext context,
- FileUpload upload
- Widget fileInThreadBuilder(
- BuildContext context,
- String path
- Widget inputLeadingBuilder()?,
Implementation
const ChatThread({
super.key,
required this.path,
required this.document,
required this.room,
this.startChatCentered = false,
this.participantNameBuilder,
this.initialMessage,
this.onMessageSent,
this.controller,
this.waitingForParticipantsBuilder,
this.attachmentBuilder,
this.fileInThreadBuilder,
this.inputLeadingBuilder,
});