GiphyAttachmentBuilder constructor

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

A widget builder for AttachmentType.giphy attachment type.

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

Implementation

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