isolated_download_manager 1.0.3 copy "isolated_download_manager: ^1.0.3" to clipboard
isolated_download_manager: ^1.0.3 copied to clipboard

File download manager based on reusable isolates with progress, cancellation, pause and resume

File download manager based on reusable isolates with progress, cancellation, pause and resume

Features #

  • Fully isolated - create any amount of reusable isolates, all handled internally
  • Powerfull - pause, resume, cancel, download queue and many more
  • Listen to updates - realtime progress and failure handling
  • UI - use ready-to-use Flutter widgets (optionally via isolated_download_manager_flutter)
  • Pure Dart - only http dependency

Getting started #

Include latest version from pub.dev to pubspec.yaml

Usage #

// 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

Additional information #

For resumable downloads download_task package is used

28
likes
160
points
1.11k
downloads

Publisher

verified publisherstarkdev.org

Weekly Downloads

File download manager based on reusable isolates with progress, cancellation, pause and resume

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

download_task, http

More

Packages that depend on isolated_download_manager