Package selection guidance compiled from public package information, community data, and project usage.
al_downloader is a Flutter package that enables URL-based file downloading across Android and iOS platforms. It supports downloading any file type and automatically handles common tasks like managing download queues, tracking progress, and managing storage permissions. The package simplifies the implementation of robust download functionality within Flutter apps, making it ideal for applications requiring reliable background downloads. With minimal setup via pub add, developers can integrate powerful download capabilities with ease.
Use cases
Downloading files from URLs
Background file downloads
Handling large file transfers
Managing download progress
Automated download queue management
Key features
Supports all file types
Automatic download management
Cross-platform (Android & iOS)
Progress tracking
Background download support
Suitable for
Apps needing file downloads
Media content delivery
Offline data caching
Educational or productivity apps
Applications with large asset libraries
Considerations
Requires internet permission on Android
May need background execution permissions on iOS
Large files require careful memory management
File path handling may vary by platform
No built-in resume capability mentioned
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
al_downloader
A URL-based flutter downloader that supports to download any type of file and automatically manages a lot of things.
final status = awaitALDownloaderBatcher.getStatusForUrls(urls);
Get tasks
final tasks = awaitALDownloaderBatcher.getTasksForUrls(urls);
ALDownloaderFileManager - A manager that manages file by url
final physicalFilePath =
awaitALDownloaderFileManager.getPhysicalFilePathForUrl(url);
debugPrint(
'ALDownloader | get physical file path for [url], url = $url, path = $physicalFilePath\n');
Note:
1. If the persistent file was removed by exceptional means, such as the cache folder being deleted by some business code, call [remove] and then call [download] to re-download for fixing the problem.