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.
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.
- flutter_downloader
Plugin to create and manage background download tasks on Android and iOS.
80Compare - download_task
Resumable HTTP download request with pause, resume, cancel, and realtime progress.
46Compare - file_downloader_flutter
Download images and files from URLs to the local device file manager.
37Compare
Works with
Packages commonly used together with resumable_downloader: ones it builds on, ones built on it, and its own family.
- cryptoresumable_downloader depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- path_providerresumable_downloader depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- dioresumable_downloader depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.