SendMessageConfiguration constructor

const SendMessageConfiguration({
  1. TextFieldConfiguration? textFieldConfig,
  2. Color? textFieldBackgroundColor,
  3. ImagePickerIconsConfiguration? imagePickerIconsConfig,
  4. ImagePickerConfiguration? imagePickerConfiguration,
  5. Color? defaultSendButtonColor,
  6. Widget? sendButtonIcon,
  7. Color? replyDialogColor,
  8. Color? replyTitleColor,
  9. Color? replyMessageColor,
  10. Color? closeIconColor,
  11. bool allowRecordingVoice = true,
  12. bool enableCameraImagePicker = true,
  13. bool enableEmojiIcon = false,
  14. bool enableDocumentIcon = false,
  15. String? initialText = '',
  16. bool enableGalleryImagePicker = true,
  17. VoiceRecordingConfiguration? voiceRecordingConfiguration,
  18. Color? micIconColor,
  19. CancelRecordConfiguration? cancelRecordConfiguration,
  20. bool shouldSendImageWithText = false,
  21. Widget? removeImageIcon,
  22. Widget? emojiIconWidget,
  23. Widget? documentIconWidget,
  24. Color? removeImageIconColor,
  25. double? removeImageIconSize,
  26. EdgeInsets? selectedImageMargin,
  27. double? selectedImageViewHeight,
  28. double? imageBorderRadius,
  29. 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,
});