VideoAttachmentBuilder constructor

const VideoAttachmentBuilder({
  1. ShapeBorder? shape,
  2. EdgeInsetsGeometry padding = const EdgeInsets.all(2),
  3. BoxConstraints constraints = _kDefaultVideoConstraints,
  4. StreamAttachmentWidgetTapCallback? onAttachmentTap,
})

A widget builder for AttachmentType.video attachment type.

This builder is used when a message contains only a single video attachment.

Implementation

const VideoAttachmentBuilder({
  this.shape,
  this.padding = const EdgeInsets.all(2),
  this.constraints = _kDefaultVideoConstraints,
  this.onAttachmentTap,
});