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

PlatformAndroidiOS
outdated

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
140
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on all_gallery_images