Skip to content
pubscout

resumable_downloader

0.1.4, released 3 weeks ago by shakyapurna.com.np

Reliable foreground file downloads with multipart ranges, durable resume, and integrity checks.

$ flutter pub add resumable_downloader
Source repository

What it does

A download manager for Flutter that handles multipart HTTP range transfers, bounded concurrency, SQLite-backed durable resume, and integrity validation with SHA-256 or custom validators. It supports operation-scoped progress tracking, foreground priority promotion, and authenticated restoration after restart.

AI-written summary of version 0.1.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need reliable foreground file transfers with pause, resume, and cancellation support.
  • You want to download large files using multipart HTTP range requests and bounded concurrency.
  • You require file integrity checks such as SHA-256 verification or custom post-download validation.

Skip it when

  • You need background transfers that continue automatically after the operating system terminates the app.
  • You are looking for a state management or dependency injection solution.

Strengths

  • Durable SQLite resume and artifact management.
  • Multipart range downloads with bounded concurrency and speed metrics.
  • Integrity checks including SHA-256 and custom validators.

Weaknesses

  • Does not support background transfers after operating system app termination.
  • Foreground-focused scope only.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
4

not documented

final manager = DownloadManager(
  subdirectory: 'downloads',
  configuration: DownloadConfiguration(
    maxConcurrentDownloads: 3,
  ),
);

final task = manager.enqueue(
  DownloadRequest(
    url: Uri.parse('https://example.com/archive.zip'),
    fileName: 'archive.zip',
  ),
);

task.updates.listen((update) {
  print('${update.status}: ${update.receivedBytes}/${update.totalBytes}');
});

Alternatives

Packages that do the same job and could replace resumable_downloader.

Works with

Packages commonly used together with resumable_downloader: ones it builds on, ones built on it, and its own family.