PdfConfiguration constructor
PdfConfiguration({
- required String targetDirectory,
- required String targetName,
- PrintSize printSize = PrintSize.A4,
- 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,
});