PdfPageLayoutFunction typedef
PdfPageLayoutFunction =
PdfPageLayout Function(List<PdfPage> pages, PdfViewerParams params)
Function to customize the layout of the pages.
pages
is the list of pages. This is just a copy of the first loaded page of the document.params
is the viewer parameters.
Implementation
typedef PdfPageLayoutFunction = PdfPageLayout Function(
List<PdfPage> pages,
PdfViewerParams params,
);