PdfDocumentLoaderReportCallback typedef
Callback function to report download status on completion.
downloaded
is the number of bytes downloaded.
total
is the total number of bytes downloaded.
elapsedTime
is the time taken to download the file.
Implementation
typedef PdfDocumentLoaderReportCallback = void Function(
int downloaded,
int total,
Duration elapsedTime,
);