download_task

Creator: coderz1093

Last updated:

0 purchases

download_task Image
download_task Images

Languages

Categories

Add to Cart

Description:

download task

Resumable HTTP download request - pause, resume, cancel, realtime progress and error handling
Features #

Take control - pause, resume and cancel
Listen to updates - realtime progress and failure handling
Pure Dart - only http dependency
Easy to use - singletone and stream

Getting started #
Include latest version from pub.dev to pubspec.yaml and simply run
await DownloadTask.download(url, destination);
copied to clipboard
Usage #
// initialize download request
final task = await DownloadTask.download(url, File("image.webp"));

// listen to state changes
task.events.listen((event) { ... }

// control task
task.pause();
task.resume();
task.cancel();
copied to clipboard
Example full source code available at example's directory
Additional information #
This package is primarly used in isolated_download_manager

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.