v5.0.0
image_save
You could use this package to save image to album or sandbox, support Android and iOS.
29Likes 37130-day downloads140Pub points
AndroidiOS
Save image to album or sandbox
English project snapshot. Visit GitHub for the latest content.
Save image to album, support Android and iOS.
Add the following statement in AndroidManifest.xml:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Add the following statement in Info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Add the description of the permission you need here.</string>
See Example
// Save to album.
bool success = await ImageSave.saveImage(data, "demo.gif", albumName: "demo");
// Save to sandbox.
// Notice: Image saved in this way will be deleted when the application is uninstalled.
bool success = await ImageSave.saveImageToSandbox(data, "demo.gif");
// Get images from Sandbox.
List<Uint8List> imageDatas = await ImageSave.getImagesFromSandbox();
Dependency list 3 items
{"sdk":"flutter"}{"sdk":"flutter"}4.0.0Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗