MessageComposerConfiguration constructor

const MessageComposerConfiguration({
  1. ComposerWidgetBuilder? auxiliaryButtonView,
  2. ComposerWidgetBuilder? headerView,
  3. ComposerWidgetBuilder? footerView,
  4. ComposerWidgetBuilder? secondaryButtonView,
  5. Widget? sendButtonView,
  6. ComposerActionsBuilder? attachmentOptions,
  7. String? text,
  8. dynamic onChange(
    1. String
    )?,
  9. int? maxLine,
  10. AuxiliaryButtonsAlignment? auxiliaryButtonsAlignment,
  11. String? placeholderText,
  12. MessageComposerStyle? messageComposerStyle,
  13. bool? hideLiveReaction,
  14. void stateCallBack(
    1. CometChatMessageComposerController
    )?,
  15. OnError? onError,
  16. String? attachmentIconURL,
  17. dynamic onSendButtonTap(
    1. BuildContext,
    2. BaseMessage,
    3. PreviewMessageMode?
    )?,
  18. CometChatTheme? theme,
  19. bool disableSoundForMessages = false,
  20. String? customSoundForMessage,
  21. String? liveReactionIconURL,
  22. String? customSoundForMessagePackage,
  23. Widget? attachmentIcon,
  24. Widget? liveReactionIcon,
  25. Widget? recordIcon,
  26. Widget? playIcon,
  27. Widget? deleteIcon,
  28. Widget? stopIcon,
  29. Widget? submitIcon,
  30. Widget? pauseIcon,
  31. bool? disableTypingEvents,
  32. MediaRecorderStyle? mediaRecorderStyle,
  33. bool? hideVoiceRecording,
  34. Widget? voiceRecordingIcon,
  35. AIOptionsStyle? aiOptionStyle,
  36. String? aiIconPackageName,
  37. Widget? aiIcon,
  38. String? aiIconURL,
  39. List<CometChatTextFormatter>? textFormatters,
  40. bool? disableMentions,
  41. TextEditingController? textEditingController,
})

Implementation

const MessageComposerConfiguration(
    {this.auxiliaryButtonView,
    this.headerView,
    this.footerView,
    this.secondaryButtonView,
    this.sendButtonView,
    this.attachmentOptions,
    this.text,
    this.onChange,
    this.maxLine,
    this.auxiliaryButtonsAlignment,
    this.placeholderText,
    this.messageComposerStyle,
    this.hideLiveReaction,
    this.stateCallBack,
    this.onError,
    this.attachmentIconURL,
    this.onSendButtonTap,
    this.theme,
    this.disableSoundForMessages = false,
    this.customSoundForMessage,
    this.liveReactionIconURL,
    this.customSoundForMessagePackage,
    this.attachmentIcon,
    this.liveReactionIcon,
    this.recordIcon,
    this.playIcon,
    this.deleteIcon,
    this.stopIcon,
    this.submitIcon,
    this.pauseIcon,
    this.disableTypingEvents,
    this.mediaRecorderStyle,
    this.hideVoiceRecording,
    this.voiceRecordingIcon,
    this.aiOptionStyle,
    this.aiIconPackageName,
    this.aiIcon,
    this.aiIconURL,
    this.textFormatters,
    this.disableMentions,
      this.textEditingController,
    });