flutter_downloader library
Provides the capability of creating and managing background download tasks.
This plugin depends on native APIs to run background tasks (WorkManager on Android and NSURLSessionDownloadTask on iOS).
All information about download tasks is saved in an SQLite database. It gives a Flutter application benefit of either getting rid of managing task information manually or querying task data with SQL statements easily.
- author: hunghd
- email: hunghd.yb@gmail.com
Classes
- DownloadTask
- Encapsulates all information of a single download task.
- FlutterDownloader
- Provides access to all functions of the plugin in a single place.
Enums
- DownloadTaskStatus
- Defines a set of possible states which a DownloadTask can be in.
Typedefs
- DownloadCallback = void Function(String id, int status, int progress)
-
Signature for a function which is called when the download state of a task
with
id
changes.
Exceptions / Errors
- FlutterDownloaderException
- Thrown when something bad happens on the Dart side of the flutter_downloader plugin.