AttachmentActionsModal constructor

const AttachmentActionsModal({
  1. Key? key,
  2. required int currentIndex,
  3. required Message message,
  4. VoidCallback? onShowMessage,
  5. AttachmentDownloader? imageDownloader,
  6. AttachmentDownloader? fileDownloader,
  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({
  Key? key,
  required this.currentIndex,
  required this.message,
  this.onShowMessage,
  this.imageDownloader,
  this.fileDownloader,
  this.showReply = true,
  this.showShowInChat = true,
  this.showSave = true,
  this.showDelete = true,
  this.customActions = const [],
}) : super(key: key);