ParseAttachments constructor

const ParseAttachments({
  1. Key? key,
  2. required Message message,
  3. required List<StreamAttachmentWidgetBuilder>? attachmentBuilders,
  4. required EdgeInsetsGeometry attachmentPadding,
  5. ShapeBorder? attachmentShape,
  6. StreamAttachmentWidgetTapCallback? onAttachmentTap,
  7. ShowMessageCallback? onShowMessage,
  8. void onReplyTap(
    1. Message
    )?,
  9. AttachmentActionsBuilder? attachmentActionsModalBuilder,
})

Parses the attachments of a StreamMessageWidget.

Used in MessageCard. Should not be used elsewhere.

Implementation

const ParseAttachments({
  super.key,
  required this.message,
  required this.attachmentBuilders,
  required this.attachmentPadding,
  this.attachmentShape,
  this.onAttachmentTap,
  this.onShowMessage,
  this.onReplyTap,
  this.attachmentActionsModalBuilder,
});