all_gallery_images

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

all gallery images

All Gallery Images #

Flutter plugin use to fetch all the images from the storage in Android and iOS .
Installation #
First, add all_gallery_images as a dependency in your pubspec.yaml file.
iOS
Add the following keys to your Info.plist file :
NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.
<key>NSPhotoLibraryUsageDescription</key>
<string>Allow assess in order to fetch images from storage</string>
copied to clipboard
Android
Add the following permissions to your AndroidManifest.xml :
<manifest ...>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
...
<manifest/>
copied to clipboard
Example #

...
StorageImages? storageImages;
try {
storageImages = await GalleryImages().getStorageImages();
} catch(error)
{
debugPrint(error.toString());
}
...
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.