compdfkit library

Classes

ComPDFKit sdk-core
ComPDFKit plugin to load PDF and image documents on both platform iOS and Android.
CPDFDocumentPageThumbnailRenderer
Default renderer backed by CPDFDocument.
CPDFPageThumbnail
Builds a PDF page thumbnail image with placeholder and error handling.
CPDFPageThumbnailDiskCache
Disk cache abstraction for page thumbnails.
CPDFPageThumbnailFileDiskCache
File-system backed thumbnail cache.
CPDFPageThumbnailKey
Immutable key used by CPDFPageThumbnailProvider.
CPDFPageThumbnailOptions
Controls how PDF page thumbnails are rendered and cached.
CPDFPageThumbnailPageMetrics
Page metrics used to resolve thumbnail cache identity.
CPDFPageThumbnailProvider
Image provider that renders one PDF page as a thumbnail.
CPDFPageThumbnailRenderer
Renders encoded thumbnail bytes.
CPDFPageThumbnailService
Coordinates thumbnail key resolution, cache lookup, and rendering.
CPDFPageThumbnailSize
Resolved thumbnail dimensions in pixels.
CPDFPageThumbnailSource
Describes where a thumbnail should be rendered from.

Enums

CPDFAnnotationMarkState annotations
Mark state for an annotation review workflow.
CPDFAnnotationReviewState annotations
Review state for an annotation review workflow.
CPDFPageThumbnailCachePolicy
Cache behavior for page thumbnails.

Typedefs

CPDFPageThumbnailImageBuilder = Widget Function(CPDFPageThumbnailProvider provider, ImageErrorWidgetBuilder? errorBuilder)
Builds the image layer for CPDFPageThumbnail.

Exceptions / Errors

CPDFPageThumbnailDocumentException
Thrown when the PDF file cannot be opened.
CPDFPageThumbnailException
Base exception for PDF page thumbnail loading.
CPDFPageThumbnailPasswordException
Thrown when a password is required or incorrect.
CPDFPageThumbnailRenderException
Thrown when the requested page cannot be rendered.