alh_pdf_view_platform_interface library

Classes

AlhPdfViewCreationParams
These params are added for the native views.
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)
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.