image_save 2.0.0 image_save: ^2.0.0 copied to clipboard
You could use this package to save image to album, support Android and iOS. For Android,The path is <code>/{album name}/{image name}</code>. For iOS,The path can't obtain, the image saved to a new alb [...]
image_save #
Save image to album, support Android and iOS.
Permission #
-
Android #
Add the following statement in AndroidManifest.xml
:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-
iOS #
Add the following statement in Info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Modify the description of the permission you need here.</string>
Usage #
See Example
bool success = ImageSave.saveImage(Uint8List.fromList(res.data), "gif", albumName: "demo");