renderWorker property

PdfRenderWorker? renderWorker
final

Offloads this page's interpretation (the content-stream parse + walk) to a background isolate when set and showAnnotations matches a serializable page - the picture is then replayed cheaply on this thread. Image-bearing pages and the null fallback render locally. Must be a worker started over the same bytes page belongs to.

Implementation

final PdfRenderWorker? renderWorker;