pdfviewer library Null safety

Classes

PdfDocumentLoadedDetails
Holds the details for the SfPdfViewer.onDocumentLoaded callback, such as document.
PdfDocumentLoadFailedDetails
Holds the details for the SfPdfViewer.onDocumentLoadFailed callback, such as error and description.
PdfPageChangedDetails
Holds the details for the SfPdfViewer.onPageChanged callback, such as newPageNumber, oldPageNumber, isFirstPage and isLastPage.
PdfTextLine
The class PdfTextLine represents the selected text line which contains the text and the bounding rectangular size relative to the page dimension and page number in which text selection is happened.
PdfTextSearchResult
PdfTextSearchResult holds the details of TextSearch
PdfTextSelectionChangedDetails
Holds the details for the SfPdfViewer.onTextSelectionChanged callback, such as globalSelectedRegion and selectedText.
PdfViewerController
An object that is used to control the navigation and zooming operations in the SfPdfViewer. [...]
PdfZoomDetails
Holds the details for the SfPdfViewer.onZoomLevelChanged callback, such as newZoomLevel and oldZoomLevel.
SfPdfViewer
A widget to view PDF documents. [...]
SfPdfViewerState
State for the SfPdfViewer widget. [...]

Enums

PdfInteractionMode
Represents different pdf interaction modes.
PdfPageLayoutMode
Represents different pdf layout mode.
PdfScrollDirection
Represents different scrolling direction.

Typedefs

PdfDocumentLoadedCallback = void Function(PdfDocumentLoadedDetails details)
Signature for SfPdfViewer.onDocumentLoaded callback.
PdfDocumentLoadFailedCallback = void Function(PdfDocumentLoadFailedDetails details)
Signature for SfPdfViewer.onDocumentLoadFailed callback.
PdfPageChangedCallback = void Function(PdfPageChangedDetails details)
Signature for SfPdfViewer.onPageChanged callback.
PdfTextSelectionChangedCallback = void Function(PdfTextSelectionChangedDetails details)
Signature for SfPdfViewer.onTextSelectionChanged callback.
PdfZoomLevelChangedCallback = void Function(PdfZoomDetails details)
Signature for SfPdfViewer.onZoomLevelChanged callback.