ParseAttachments constructor
const
ParseAttachments({
- Key? key,
- required Message message,
- required List<
StreamAttachmentWidgetBuilder> ? attachmentBuilders, - required EdgeInsetsGeometry attachmentPadding,
- ShapeBorder? attachmentShape,
- StreamAttachmentWidgetTapCallback? onAttachmentTap,
- ShowMessageCallback? onShowMessage,
- void onReplyTap()?,
- 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,
});