MessageComposerConfiguration constructor
const
MessageComposerConfiguration({
- ComposerWidgetBuilder? auxiliaryButtonView,
- ComposerWidgetBuilder? headerView,
- ComposerWidgetBuilder? secondaryButtonView,
- Widget? sendButtonView,
- ComposerActionsBuilder? attachmentOptions,
- String? text,
- dynamic onChange()?,
- int? maxLine,
- AuxiliaryButtonsAlignment? auxiliaryButtonsAlignment,
- String? placeholderText,
- MessageComposerStyle? messageComposerStyle,
- bool? hideLiveReaction,
- void stateCallBack()?,
- OnError? onError,
- String? attachmentIconURL,
- dynamic onSendButtonTap()?,
- CometChatTheme? theme,
- bool disableSoundForMessages = false,
- String? customSoundForMessage,
- String? liveReactionIconURL,
- String? customSoundForMessagePackage,
- Widget? attachmentIcon,
- Widget? liveReactionIcon,
- Widget? recordIcon,
- Widget? playIcon,
- Widget? deleteIcon,
- Widget? stopIcon,
- Widget? submitIcon,
- Widget? pauseIcon,
- bool? disableTypingEvents,
- MediaRecorderStyle? mediaRecorderStyle,
- bool? hideVoiceRecording,
- Widget? voiceRecordingIcon,
- AIOptionsStyle? aiOptionStyle,
- String? aiIconPackageName,
- Widget? aiIcon,
- String? aiIconURL,
- List<
CometChatTextFormatter> ? textFormatters, - bool? disableMentions,
- 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,
});