ProtectPdfOptions constructor

const ProtectPdfOptions({
  1. required String password,
  2. String? ownerPassword,
  3. String permission = 'restricted',
  4. String encryptionLevel = '256',
  5. bool allowPrinting = false,
  6. bool allowCopying = false,
  7. bool allowEditing = false,
})

Constructor

Implementation

const ProtectPdfOptions({
  required super.password,
  this.ownerPassword,
  this.permission = 'restricted',
  this.encryptionLevel = '256',
  this.allowPrinting = false,
  this.allowCopying = false,
  this.allowEditing = false,
});