PdfViewerDebug class

Profiling hooks. Do not call these from production UI.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

debugBundleOverride ← PdfViewerDebugBundle?
Forces the next PDF.js bundle selection.
no getter
debugEnableHwaOverride ← bool?
Forces hardware-accelerated canvas on or off for PDF.js.
no getter
debugEngineOverride ← PdfViewerEngine?
Forces the engine used by the next viewer, ignoring PdfViewerParams.engine.
no getter

Static Methods

injectEmbedPdfFatal() → Future<void>
Injects a fatal EmbedPDF failure so the viewer can fall back to PDF.js.
select() → PdfViewerDebugBundle
Returns the PDF.js bundle the selector would use now.
terminateEmbedPdfWorker() → Future<void>
Terminates the EmbedPDF worker so the watchdog can fall back to PDF.js.