ChatThreadInput constructor

const ChatThreadInput({
  1. Key? key,
  2. required RoomClient room,
  3. required void onSend(
    1. String,
    2. List<FileAttachment>
    ),
  4. required ChatThreadController controller,
  5. Widget? placeholder,
  6. void onChanged(
    1. String,
    2. List<FileAttachment>
    )?,
  7. Widget attachmentBuilder(
    1. BuildContext context,
    2. FileAttachment upload
    )?,
  8. Widget? leading,
  9. Widget? trailing,
  10. Widget? header,
  11. Widget? footer,
  12. void onClear()?,
})

Implementation

const ChatThreadInput({
  super.key,
  required this.room,
  required this.onSend,
  required this.controller,
  this.placeholder,
  this.onChanged,
  this.attachmentBuilder,
  this.leading,
  this.trailing,
  this.header,
  this.footer,
  this.onClear,
});