Chat constructor
const
Chat({
- Key? key,
- bool readOnly = false,
- ChatController? chatController,
- ChatConfiguration configuration = const ChatConfiguration(),
- Future<
void> onScrollToTop()?, - Widget customInputField()?,
Creates a new Chat widget.
The configuration parameter allows customization of the chat appearance
and behavior. If chatController is not provided, a default controller
will be created.
Implementation
const Chat(
{super.key,
this.readOnly = false,
this.chatController,
this.configuration = const ChatConfiguration(),
this.onScrollToTop,
this.customInputField});