MessageInput constructor

const MessageInput({
  1. Key? key,
  2. required dynamic onSendMessage(
    1. String text
    ),
  3. required dynamic onSendAudioMessage(
    1. String? audioPath,
    2. MessageType type
    ),
})

Creates a MessageInput widget.

Implementation

const MessageInput({
  Key? key,
  required this.onSendMessage,
  required this.onSendAudioMessage,
}) : super(key: key);