fileName the output file name that will be stored in downloads directory progress the download progress
fileName
progress
typedef OnProgress = Function(String? fileName, double progress);