PdfConfiguration constructor

PdfConfiguration({
  1. required String targetDirectory,
  2. required String targetName,
  3. PrintSize printSize = PrintSize.A4,
  4. PrintOrientation printOrientation = PrintOrientation.Portrait,
})

targetDirectory is the desired path for the Pdf file.

targetName is the name of the Pdf file

printSize is the print size of the Pdf file

printOrientation is the print orientation of the Pdf file

Implementation

PdfConfiguration({
  required this.targetDirectory,
  required this.targetName,
  this.printSize = PrintSize.A4,
  this.printOrientation = PrintOrientation.Portrait,
});