UrlAttachmentBuilder constructor
const
UrlAttachmentBuilder({
- ShapeBorder? shape,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8),
- BoxConstraints constraints = _kDefaultUrlAttachmentConstraints,
- StreamAttachmentWidgetTapCallback? onAttachmentTap,
A widget builder for url attachment type.
This is used to show url attachments with a preview. e.g. youtube, twitter, etc.
Implementation
const UrlAttachmentBuilder({
this.shape,
this.padding = const EdgeInsets.all(8),
this.constraints = _kDefaultUrlAttachmentConstraints,
this.onAttachmentTap,
});