PdfSourceProgress typedef
Reports progressive-load progress. fetched is the running total of bytes
pulled from the source; total is the document length when known.
Implementation
typedef PdfSourceProgress = void Function(int fetched, int? total);