StreamGiphyAttachment constructor

const StreamGiphyAttachment({
  1. Key? key,
  2. required Message message,
  3. required Attachment giphy,
  4. GiphyInfoType type = GiphyInfoType.original,
  5. ShapeBorder? shape,
  6. BoxConstraints constraints = const BoxConstraints(),
})

Shows a GIF attachment in a StreamMessageWidget.

Implementation

const StreamGiphyAttachment({
  super.key,
  required this.message,
  required this.giphy,
  this.type = GiphyInfoType.original,
  this.shape,
  this.constraints = const BoxConstraints(),
});