Simple and effective cross platform image saver for flutter, supported web and desktop.
final savedPath = await saveImage(data, 'image.png');
android/app/src/main/AndroidManifest.xml
:
Add android:requestLegacyExternalStorage="true"
to <application>
.
Add NSPhotoLibraryAddUsageDescription
to Info.plist