PdfDocumentLoaderProgressCallback typedef
Callback function to notify download progress.
downloadedBytes
is the number of bytes downloaded so far.
totalBytes
is the total number of bytes to download. It may be null if the total size is unknown.
Implementation
typedef PdfDocumentLoaderProgressCallback = void Function(
int downloadedBytes, [
int? totalBytes,
]);