ChatThreadInput constructor

const ChatThreadInput({
  1. Key? key,
  2. required RoomClient room,
  3. required void onSend(
    1. String,
    2. List<FileUpload>
    ),
  4. required ChatThreadController controller,
  5. void onChanged(
    1. String,
    2. List<FileUpload>
    )?,
  6. Widget attachmentBuilder(
    1. BuildContext context,
    2. FileUpload upload
    )?,
  7. Widget? leading,
  8. Widget? trailing,
})

Implementation

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