PdfJsSource class

Platform-neutral handle the loader hands back after making the pdf.js component available.

cachePath is the on-disk cache directory (IO); scriptBase is the base URL reader pages load pdf.min.js from (the loopback /__pdfjs__ route on IO, a CDN or mirror on the web).

Constructors

PdfJsSource({required String cachePath, required String scriptBase})
Creates a source handle.
const

Properties

cachePath → String
Directory holding the cached component files ('' on the web).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scriptBase → String
Base URL reader pages load pdf.min.js from.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited