ArcaneChatScreen<M extends AbstractChatMessage, U extends AbstractChatUser> constructor
const
ArcaneChatScreen<M extends AbstractChatMessage, U extends AbstractChatUser> ({
- required ChatProvider<
M, U> provider, - required String currentUserId,
- ChatStyle style = ChatStyle.bubbles,
- Component? header,
- bool showInput = true,
- String inputPlaceholder = 'Type a message...',
- bool showTimestamps = true,
- bool showAvatars = true,
- Component? sendButton,
- bool gutter = true,
- 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,
});