all_gallery_images 0.1.0+1 copy "all_gallery_images: ^0.1.0+1" to clipboard
all_gallery_images: ^0.1.0+1 copied to clipboard

Flutter plugin use to fetch all the images from the storage in Android and iOS .

All Gallery Images #

pub package

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>

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/>

Example #


    ...
    StorageImages? storageImages;
        try {
          storageImages = await GalleryImages().getStorageImages();
        } catch(error)
        {
          debugPrint(error.toString());
        }
    ...
2
likes
120
pub points
55%
popularity

Publisher

unverified uploader

Flutter plugin use to fetch all the images from the storage in Android and iOS .

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on all_gallery_images