pdf_render_widgets
library
Typedefs
-
BuildPageContentFunc
= Widget Function(BuildContext context, int pageNumber, )
-
-
LayoutPagesFunc
= List<Rect> Function(Size contentViewSize, List<Size> pageSizes)
-
-
OnError
= void Function(dynamic)
-
Error handler.
-
OnPdfViewerControllerInitialized
= void Function(PdfViewerController)
-
-
PdfDocumentBuilder
= Widget Function(BuildContext context, PdfDocument? pdfDocument, int pageCount)
-
Function definition to build widget tree for a PDF document.
-
PdfPageBuilder
= Widget Function(BuildContext context, PdfPageTextureBuilder textureBuilder, Size pageSize)
-
Function definition to build widget tree corresponding to a PDF page.
-
PdfPagePlaceholderBuilder
= Widget Function(Size size, PdfPageStatus status)
-
Creates page placeholder that is shown on page loading or even page load failure.
-
PdfPageTextureBuilder
= Widget Function({bool allowAntialiasingIOS, bool backgroundFill, PdfPagePlaceholderBuilder? placeholderBuilder, double? renderingPixelRatio, Size? size})
-
Function definition to generate the actual widget that contains rendered PDF page image.