AttachmentActionsModal constructor

const AttachmentActionsModal({
  1. Key? key,
  2. required Attachment attachment,
  3. required Message message,
  4. VoidCallback? onShowMessage,
  5. VoidCallback? onReply,
  6. AttachmentDownloader? attachmentDownloader,
  7. bool showReply = true,
  8. bool showShowInChat = true,
  9. bool showSave = true,
  10. bool showDelete = true,
  11. List<AttachmentAction> customActions = const [],
})

Returns a new AttachmentActionsModal

Implementation

const AttachmentActionsModal({
  super.key,
  required this.attachment,
  required this.message,
  this.onShowMessage,
  this.onReply,
  this.attachmentDownloader,
  this.showReply = true,
  this.showShowInChat = true,
  this.showSave = true,
  this.showDelete = true,
  this.customActions = const [],
});