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

Dart

dart:ui
Built-in types and core primitives for a Flutter application. [...]

Core

dart:async
Support for asynchronous programming, with classes such as Future and Stream. [...]
dart:collection
Classes and utilities that supplement the collection support in dart:core. [...]
dart:convert
Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
dart:core
Built-in types, collections, and other core functionality for every Dart program. [...]
dart:developer
Interact with developer tools such as the debugger and inspector. [...]
dart:math
Mathematical constants and functions, plus a random number generator. [...]
dart:typed_data
Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]

VM

dart:io
File, socket, HTTP, and other I/O support for non-web applications. [...]
dart:isolate
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]