PDFPageRotatorParams constructor
const
PDFPageRotatorParams({
- required String pdfPath,
- required List<
PageRotationInfo> pagesRotationInfo,
Create parameters for the pdfPageRotator
method.
Implementation
const PDFPageRotatorParams(
{required this.pdfPath, required this.pagesRotationInfo})
: assert(pagesRotationInfo.length > 0, 'pageNumbers cant be empty');