Skip to content

this is a flutter plugin AND save Image to Gallery

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

chenxianqi/save_image

Repository files navigation

save_image

A new Flutter plugin. OC + Kotlin Language

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>

example

    var response = await Dio().get(url, options: Options(responseType: ResponseType.bytes));
    bool isSaveSuccess = await SaveImage.save(imageBytes: Uint8List.fromList(response.data));

About

this is a flutter plugin AND save Image to Gallery

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published