GalleryAttachmentBuilder constructor
const
GalleryAttachmentBuilder({
- ShapeBorder? shape,
- EdgeInsetsGeometry padding = const EdgeInsets.all(2),
- double spacing = 2,
- double runSpacing = 2,
- BoxConstraints constraints = _kDefaultGalleryConstraints,
- StreamAttachmentWidgetTapCallback? onAttachmentTap,
A widget builder for AttachmentType.image, AttachmentType.video and AttachmentType.giphy attachment types.
This builder will render a StreamGalleryAttachment widget when the message has more than one image or video or giphy attachment.
Implementation
const GalleryAttachmentBuilder({
this.shape,
this.padding = const EdgeInsets.all(2),
this.spacing = 2,
this.runSpacing = 2,
this.constraints = _kDefaultGalleryConstraints,
this.onAttachmentTap,
});