alh_pdf_view library

Classes

AlhPdfView
Showing PDF with given filePath or bytes.
AlhPdfViewAndroid
An implementation of AlhPdfViewPlatform for Android.
AlhPdfViewController
AlhPdfViewCreationParams
These params are added for the native views.
AlhPdfViewIOS
An implementation of AlhPdfViewPlatform for Android.
AlhPdfViewPlatform
The interface that platform-specific implementations of alh_pdf_view must extend.
MapEvent<T>
This class is used to notify method calls from the native part.
OnErrorEvent
OnLinkHandleEvent
OnPageChangedEvent
OnPageErrorEvent
OnRenderEvent
OnZoomChangedEvent
PageChangedObject
PageErrorObject
WidgetConfiguration

Enums

FitPolicy
Defining the fit policy for the PDF page.

Typedefs

ErrorCallback = void Function(dynamic error)
LinkHandleCallback = void Function(String url)
PageChangedCallback = void Function(int page, int total)
PageErrorCallback = void Function(int page, dynamic error)
PDFViewCreatedCallback = void Function(AlhPdfViewController controller)
RenderCallback = void Function(int pages)
ZoomChangedCallback = void Function(double zoom)

Exceptions / Errors

UnknownViewIdError
Error thrown when an unknown view id is provided to a method channel API.