ChatInputFieldProvider constructor

ChatInputFieldProvider({
  1. required dynamic onTextSubmit(
    1. ChatMessage text
    ),
  2. required TextEditingController textController,
  3. required dynamic handleRecord(
    1. ChatMessage? audioMessage,
    2. bool cancel
    ),
  4. required VoidCallback onSlideToCancelRecord,
  5. required double cancelPosition,
  6. required dynamic handleImageSelect(
    1. ChatMessage? imageMessage
    ),
})

Implementation

ChatInputFieldProvider({
  required this.onTextSubmit,
  required this.textController,
  required this.handleRecord,
  required this.onSlideToCancelRecord,
  required this.cancelPosition,
  required this.handleImageSelect,
});