GiphyAttachment constructor

const GiphyAttachment({
  1. Key? key,
  2. required Message message,
  3. required Attachment attachment,
  4. Size? size,
  5. ShowMessageCallback? onShowMessage,
  6. ValueChanged<ReturnActionType>? onReturnAction,
  7. VoidCallback? onAttachmentTap,
})

Constructor for creating a GiphyAttachment widget

Implementation

const GiphyAttachment({
  Key? key,
  required Message message,
  required Attachment attachment,
  Size? size,
  this.onShowMessage,
  this.onReturnAction,
  this.onAttachmentTap,
}) : super(
        key: key,
        message: message,
        attachment: attachment,
        size: size,
      );