Signature constructor

Signature({
  1. Widget? child,
  2. @Deprecated('Use value instead') PdfSignatureBase? crypto,
  3. PdfSignatureBase? value,
  4. required String name,
  5. bool appendOnly = false,
  6. PdfBorder? border,
  7. Set<PdfAnnotFlags>? flags,
  8. DateTime? date,
  9. PdfColor? color,
  10. PdfAnnotHighlighting? highlighting,
  11. List<Uint8List>? crl,
  12. List<Uint8List>? cert,
  13. List<Uint8List>? ocsp,
  14. PdfIndirect? replaces,
})

Implementation

Signature({
  Widget? child,
  @Deprecated('Use value instead') PdfSignatureBase? crypto,
  PdfSignatureBase? value,
  required this.name,
  this.appendOnly = false,
  this.border,
  this.flags,
  this.date,
  this.color,
  this.highlighting,
  this.crl,
  this.cert,
  this.ocsp,
  this.replaces,
})  : value = value ?? crypto,
      super(child: child);