Flutter plugin that downloads images on the Internet and saves them on device.
This will keep Exif(DateTimeOriginal) and GPS(Latitude, Longitude).
For Android, image is saved in
For ios, image is saved in Photo Library.
Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:
Privacy - Photo Library Usage Descriptionin the visual editor.
Privacy - Photo Library Additions Usage Descriptionin the visual editor.
Add this permission in
Future<bool> downloadImage() => ImageDownloader.downloadImage("https://flutter.io/images/flutter-mark-square-100.png");
True if saving succeeded.
False if not been granted permission.
Otherwise it is a PlatformException.
Demonstrates how to use the image_downloader plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: image_downloader: ^0.9.0
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.9.0||Nov 6, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Nov 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.