ImageAttachmentBuilder constructor
const
ImageAttachmentBuilder({
- ShapeBorder? shape,
- EdgeInsetsGeometry padding = const EdgeInsets.all(2),
- BoxConstraints constraints = _kDefaultImageConstraints,
- StreamAttachmentWidgetTapCallback? onAttachmentTap,
A widget builder for AttachmentType.image attachment type.
This builder is used when a message contains only a single image attachment.
Implementation
const ImageAttachmentBuilder({
this.shape,
this.padding = const EdgeInsets.all(2),
this.constraints = _kDefaultImageConstraints,
this.onAttachmentTap,
});