ChatInputFieldProvider constructor
ChatInputFieldProvider({
- required dynamic onTextSubmit(
- ChatMessage text
- required TextEditingController textController,
- required dynamic handleRecord(
- ChatMessage? audioMessage,
- bool cancel
- required VoidCallback onSlideToCancelRecord,
- required double cancelPosition,
- required dynamic handleImageSelect(
- ChatMessage? imageMessage
Implementation
ChatInputFieldProvider({
required this.onTextSubmit,
required this.textController,
required this.handleRecord,
required this.onSlideToCancelRecord,
required this.cancelPosition,
required this.handleImageSelect,
});