pit_gallery_count 1.0.0

Flutter Android iOS

Plugin for count image in gallery, this plugin depends on other plugins, you must have a permission to use this plugin, you can use `pit_permission` plugin

PIT Gallery Count #

Use this Plugin for count a image in gallery

Note: This plugin is still under development, and some Components might not be available yet or still has so many bugs.

Installation #

First, add pit_gallery_count as a dependency in your pubspec.yaml file.

pit_gallery_count: ^1.0.0

Important #

this plugin depends on other plugins, you must have a permission to use this plugin, you can use pit_permission plugin or other permission plugin.

You must add this permission in AndroidManifest.xml for Android

for read Storage = <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
for write Storage = <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Note: version ^0.1.1 doesn't support for IOS

And you must add this on info.plist for IOS

For read storage #

 <key>NSPhotoLibraryUsageDescription</key>
 <string>${PRODUCT_NAME} Need To Access Your Photo</string>
     int galleryCount = await PitGalleryCount.getGalleryCount();

Example for Get Image List #

Note work on version <= 0.1.1

   List<ImageData> params = [ImageData.imageName, ImageData.dateTaken, ImageData.imageSize];
   List<dynamic> res = await PitGalleryCount.getImageList(imageData: params);

Note work on version 0.1.2

    List<GalleryWithUint8List> res = await PitGalleryCount.getImageListWithByteData(countImage: 2, imageSortBy: SortColumn.dateTaken, maxSize: 200);
1
likes
80
pub points
54%
popularity

Plugin for count image in gallery, this plugin depends on other plugins, you must have a permission to use this plugin, you can use `pit_permission` plugin

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

yudhistiray198@gmail.com
reno.rizky.ollantino@gmail.com

License

BSD (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on pit_gallery_count