image_downloader
0.31.0, released 5 years ago by an unverified publisher
Download internet images and media files and save them to device storage.
What it does
Downloads images and movies from the internet and saves them to the device's photo library on iOS or a specified directory on Android. It preserves EXIF data and GPS coordinates, and provides progress updates and file metadata retrieval.
AI-written summary of version 0.31.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to save internet images or movies directly to the device storage or photo library
- You need to track download progress for media files
Skip it when
- You only need to display images in the UI (use cached_network_image instead)
- You need a general-purpose HTTP networking library for all REST requests
Strengths
- Keeps EXIF and GPS data intact
- Supports custom directories and progress callbacks
- Can open and preview downloaded files immediately
Weaknesses
- Requires platform-specific permissions setup for Android and iOS
- External storage features depend heavily on Android device differences
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires adding NSPhotoLibraryUsageDescription and NSPhotoLibraryAddUsageDescription to Info.plist on iOS, and WRITE_EXTERNAL_STORAGE permission or FileProvider configuration on Android depending on the destination.
try {
var imageId = await ImageDownloader.downloadImage("https://raw.githubusercontent.com/wiki/ko2ic/image_downloader/images/flutter.png");
if (imageId == null) {
return;
}
var path = await ImageDownloader.findPath(imageId);
} on PlatformException catch (error) {
print(error);
}Alternatives
Packages that do the same job and could replace image_downloader.
- gal
Save images and videos to the device gallery with a single call and built‑in permission handling.
94Compare - file_saver_ffi
Save any file type to device storage, gallery, or a user‑chosen folder with progress and conflict handling.
76Compare - large_file_handler
Copy large assets or download network files to the device local file system.
70Compare - flutter_downloader
Plugin to create and manage background download tasks on Android and iOS.
80Compare