AttachmentItem constructor

const AttachmentItem({
  1. dynamic key,
  2. required dynamic attachment,
  3. bool canEdit = false,
  4. bool? openView = true,
})

Implementation

const AttachmentItem({
  super.key,
  required this.attachment,
  this.canEdit = false,
  this.openView = true,
});