ChatInputWidget constructor
const
ChatInputWidget({})
Creates a new chat input widget.
The onMessageSent
callback is required and will be called
when a message is submitted. The isLoading
parameter
controls the loading state display.
Implementation
const ChatInputWidget({
super.key,
required this.onMessageSent,
this.isLoading = false,
});