user | User? | Sets user for the message composer. |
group | Group? | Sets group for the message composer. |
messageComposerStyle | CometChatMessageComposerStyle? | Sets style for the message composer. |
placeholderText | String? | Hint text for the input field. |
text | String? | Initial text for the input field. |
onChange | Function(String text)? | Callback triggered when text changes. |
textEditingController | TextEditingController? | Controls the state of the text field. |
maxLine | int? | Maximum number of lines allowed in the input field. |
disableMentions | bool? | Disables mentions in the composer. |
disableTypingEvents | bool | Disables typing events. |
disableSoundForMessages | bool | Disables sound for sent messages. |
customSoundForMessage | String? | URL for custom sound when a message is sent. |
customSoundForMessagePackage | String? | Package name for the custom sound. |
parentMessageId | int | ID of the parent message (default is 0). |
padding | EdgeInsetsGeometry? | Sets padding for the message composer. |
messageInputPadding | EdgeInsetsGeometry? | Sets padding for the message input field. |
sendButtonView | Widget? | Custom send button widget. |
attachmentIcon | Widget? | Custom attachment icon. |
attachmentIconURL | String? | URL of the attachment icon. |
voiceRecordingIcon | Widget? | Custom voice recording icon. |
aiIcon | Widget? | Custom AI button icon. |
aiIconURL | String? | URL for the AI button icon. |
aiIconPackageName | String? | Package name for the AI icon. |
auxiliaryButtonView | ComposerWidgetBuilder? | UI component forwarded to message input as auxiliary button. |
secondaryButtonView | ComposerWidgetBuilder? | UI component forwarded to message input as secondary button. |
auxiliaryButtonsAlignment | AuxiliaryButtonsAlignment? | Controls position of auxiliary button view. |
hideVoiceRecordingButton | bool? | Option to hide the voice recording button. |
recorderStartButtonIcon | Widget? | Custom start button icon for the recorder. |
recorderPauseButtonIcon | Widget? | Custom pause button icon for the recorder. |
recorderDeleteButtonIcon | Widget? | Custom delete button icon for the recorder. |
recorderStopButtonIcon | Widget? | Custom stop button icon for the recorder. |
recorderSendButtonIcon | Widget? | Custom send button icon for the recorder. |
attachmentOptions | ComposerActionsBuilder? | Provides options for file attachments. |
hideAttachmentButton | bool? | Hide/display attachment button. |
hideImageAttachmentOption | bool? | Hide/display image attachment option. |
hideVideoAttachmentOption | bool? | Hide/display video attachment option. |
hideAudioAttachmentOption | bool? | Hide/display audio attachment option. |
hideFileAttachmentOption | bool? | Hide/display file attachment option. |
hidePollsOption | bool? | Hide/display polls option. |
hideCollaborativeDocumentOption | bool? | Hide/display collaborative document option. |
hideCollaborativeWhiteboardOption | bool? | Hide/display collaborative whiteboard option. |
hideTakePhotoOption | bool? | Hide/display take photo option. |
onSendButtonTap | Function(BuildContext, BaseMessage, PreviewMessageMode?)? | Callback triggered when the send button is tapped. |
onError | OnError? | Callback to handle errors. |
stateCallBack | Function(CometChatMessageComposerController controller)? | Callback to manage state of the message composer. |
hideSendButton | bool? | Hide/display the send button. |
hideStickersButton | bool? | Hide/display the sticker button. |
sendButtonIcon | Widget? | Custom send button icon. |