进度监听器
current为当前已传输字节,total为总传输字节
current
total
typedef OnProgress = void Function(int current, int total);