ChatInput constructor

const ChatInput({
  1. Key? key,
  2. required bool? isRobot,
  3. bool? isAttachmentUploading,
  4. void onAttachmentPressed()?,
  5. required Future<bool> onSendPressed(
    1. String
    ),
  6. void onTextChanged(
    1. String
    )?,
  7. void onTextFieldTap()?,
  8. required SendButtonVisibilityMode sendButtonVisibilityMode,
  9. Widget? extraWidget,
  10. Widget? voiceWidget,
})

Implementation

const ChatInput({
  Key? key,
  required this.isRobot,
  this.isAttachmentUploading,
  this.onAttachmentPressed,
  required this.onSendPressed,
  this.onTextChanged,
  this.onTextFieldTap,
  required this.sendButtonVisibilityMode,
  this.extraWidget,
  this.voiceWidget,
}) : super(key: key);