image_save 2.1.0 copy "image_save: ^2.1.0" to clipboard
image_save: ^2.1.0 copied to clipboard

outdated

You could use this package to save image to album or sandbox, support Android and iOS.

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

// Save to album.
bool success = await ImageSave.saveImage(data, "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");
28
likes
40
pub points
88%
popularity

Publisher

unverified uploader

You could use this package to save image to album or sandbox, support Android and iOS.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on image_save