isolated_download_manager
File download manager based on reusable isolates with progress, cancellation, pause and resume
Isolated download manager with progress, cancellation, pause and resume
English project snapshot. Visit GitHub for the latest content.
File download manager based on reusable isolates with progress, cancellation, pause and resume
http dependencyInclude latest version from pub.dev to pubspec.yaml
// initialize
await DownloadManager.instance.init(isolates: 3);
// download
final request = DownloadManager.instance.download(url);
// listen to state changes
request.events.listen((event) { ... }
// control the task
request.pause();
request.resume();
request.cancel();
Example full source code available at example's directory
For resumable downloads download_task package is used
Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗