SendMessageConfiguration constructor
const
SendMessageConfiguration({
- TextFieldConfiguration? textFieldConfig,
- Color? textFieldBackgroundColor,
- ImagePickerIconsConfiguration? imagePickerIconsConfig,
- ImagePickerConfiguration? imagePickerConfiguration,
- Color? defaultSendButtonColor,
- Widget? sendButtonIcon,
- Color? replyDialogColor,
- Color? replyTitleColor,
- Color? replyMessageColor,
- Color? closeIconColor,
- bool allowRecordingVoice = true,
- bool enableCameraImagePicker = true,
- bool enableEmojiIcon = false,
- bool enableDocumentIcon = false,
- String? initialText = '',
- bool enableGalleryImagePicker = true,
- VoiceRecordingConfiguration? voiceRecordingConfiguration,
- Color? micIconColor,
- CancelRecordConfiguration? cancelRecordConfiguration,
- bool shouldSendImageWithText = false,
- Widget? removeImageIcon,
- Widget? emojiIconWidget,
- Widget? documentIconWidget,
- Color? removeImageIconColor,
- double? removeImageIconSize,
- EdgeInsets? selectedImageMargin,
- double? selectedImageViewHeight,
- double? imageBorderRadius,
- SelectedImageViewBuilder? selectedImageViewBuilder,
Implementation
const SendMessageConfiguration({
this.textFieldConfig,
this.textFieldBackgroundColor,
this.imagePickerIconsConfig,
this.imagePickerConfiguration,
this.defaultSendButtonColor,
this.sendButtonIcon,
this.replyDialogColor,
this.replyTitleColor,
this.replyMessageColor,
this.closeIconColor,
this.allowRecordingVoice = true,
this.enableCameraImagePicker = true,
this.enableEmojiIcon = false,
this.enableDocumentIcon = false,
this.initialText = '',
this.enableGalleryImagePicker = true,
this.voiceRecordingConfiguration,
this.micIconColor,
this.cancelRecordConfiguration,
this.shouldSendImageWithText = false,
this.removeImageIcon,
this.emojiIconWidget,
this.documentIconWidget,
this.removeImageIconColor,
this.removeImageIconSize,
this.selectedImageMargin,
this.selectedImageViewHeight,
this.imageBorderRadius,
this.selectedImageViewBuilder,
});