flutter_image_media

A new Flutter plugin for getting image list from the phone (only android).

Getting Started

To use import

  import 'package:flutter_image_media/flutter_image_media.dart';

To get the list of ImageAlbum

  Liat<ImageAlbum> imageAlbums=FlutterImageMedia.getImages;

The ImageAlbum contains folder/album name and the list of path of the images. this can be assesed using

  ImageAlbum imageAlbum;
  String album=imageAlbum.folderName;
  List<String> imagePaths=imageAlbum.imagePaths;

To get the list of ImageAlbumWithThumbnailPath

 List<ImageAlbumWithThumbnail> images = FlutterImageMedia.getAllImagesWithMiniThumbnail;

The ImageAlbumWithThumbnail contains folder/album name, the list of path of the thumbnail and the list of path of the images. this can be assesed using

  ImageAlbumWithThumbnail imageAlbum;
  String album=imageAlbum.folderName;
  List<String> imagePaths=imageAlbum.imagePaths;
  List<String> thumbnailPaths=imageAlbum.thumbnailPaths;

To get the list of ImageAlbum

  Liat<ImageAlbum> imageAlbums=FlutterImageMedia.getImages;

The ImageAlbum contains folder/album name nad the list of path of the images. this can be assesed using

  ImageAlbum imageAlbum;
  String album=imageAlbum.folderName;
  List<String> imagePaths=imageAlbum._imagePaths;

Libraries

flutter_image_media
image_album
image_album_with_thumbnail