flutter_file_downloader library

Classes

DownloadCallbacks
The download callbacks 'container'
DownloadFileRequest
FileDownloader
FlutterFileDownloader core file that handles native calls

Typedefs

OnDownloadCompleted = void Function(String path)
path the output file absolute path
OnDownloadError = void Function(String errorMessage)
errorMessage if download did not succeed for some reason, errorMessage will contains the failure reason e.g. the url is not correct 404 or the file is not accessible 400
OnDownloadRequestIdReceived = void Function(int downloadId)
downloadId the download id generated by downloading manager
OnProgress = void Function(String? fileName, double progress)
fileName the output file name that will be stored in downloads directory progress the download progress