v5.0.0
image_save
आप इस पैकेज का उपयोग छवि को एल्बम या सैंडबॉक्स में सहेजने के लिए कर सकते हैं, जो Android और iOS का समर्थन करता है।
29लाइक 37130-दिन डाउनलोड140Pub अंक
AndroidiOS
तस्वीर को एल्बम या सैंडबॉक्स में सहेजें
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
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();
निर्भरता सूची 3 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}4.0.0उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗