MessageInput constructor
const
MessageInput({
- Key? key,
- required dynamic onSendMessage(
- String text
- required dynamic onSendAudioMessage(
- String? audioPath,
- MessageType type
Creates a MessageInput widget.
Implementation
const MessageInput({
Key? key,
required this.onSendMessage,
required this.onSendAudioMessage,
}) : super(key: key);