ArcaneChatScreen<M extends AbstractChatMessage, U extends AbstractChatUser> constructor

const ArcaneChatScreen<M extends AbstractChatMessage, U extends AbstractChatUser>({
  1. required ChatProvider<M, U> provider,
  2. required String currentUserId,
  3. ChatStyle style = ChatStyle.bubbles,
  4. Component? header,
  5. bool showInput = true,
  6. String inputPlaceholder = 'Type a message...',
  7. bool showTimestamps = true,
  8. bool showAvatars = true,
  9. Component? sendButton,
  10. bool gutter = true,
  11. Key? key,
})

Implementation

const ArcaneChatScreen({
  required this.provider,
  required this.currentUserId,
  this.style = ChatStyle.bubbles,
  this.header,
  this.showInput = true,
  this.inputPlaceholder = 'Type a message...',
  this.showTimestamps = true,
  this.showAvatars = true,
  this.sendButton,
  this.gutter = true,
  super.key,
});