pdf_render_maintained library
Classes
- PdfDocument
- Handles PDF document loaded on memory.
- PdfDocumentLoader
- PdfDocumentLoader is a Widget that used to load arbitrary PDF document and manages PdfDocument instance.
- PdfDocumentLoaderState
- PdfPage
-
Handles a PDF page in
PDFDocument. - PdfPageImage
- PdfPageImageTexture
- Very limited support for Flutter's Texture based drawing. Because it does not transfer the rendered image via platform channel, it could be faster and more efficient than the PdfPageImage based rendering process.
- PdfPageView
- Widget to render a page of PDF document. Normally used in combination with PdfDocumentLoader.
- PdfPageViewState
- PdfRenderScreen
- A batteries-included screen that wires an AppBar to a PdfRenderView.
- PdfRenderView
- High-level 1-line PDF viewer that delegates to the existing PdfViewer API.
- PdfViewer
- A PDF viewer implementation with user interactive zooming support.
- PdfViewerController
- Controller for PdfViewer. It is derived from TransformationController and basically compatible to ValueNotifier<Matrix4>. So you can pass it to ValueListenableBuilder<Matrix4> or such to receive any view status changes.
- PdfViewerParams
- PdfViewerState
Enums
- PdfPageStatus
- Page loading status.
- PdfViewerAnchor
- Specifies where to anchor to.
Typedefs
- BuildPageContentFunc = Widget Function(BuildContext context, int pageNumber, Rect pageRect)
-
LayoutPagesFunc
= List<
Rect> Function(Size contentViewSize, List<Size> pageSizes) - OnClickOutsidePageViewer = void Function()
- 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.