total the file's size cached cached file's size percent the progress 0, 100
total
cached
percent
0, 100
typedef ProgressListener = void Function(int total, int cached, int percent);