preloaded_images 1.0.2

Flutter Android iOS

A new flutter plugin to fetch latest 'X' images from mobile storage. It returns list of asset url's and works both on IOS and Android.

preloaded_images #

A new flutter plugin to fetch latest 'X' images from mobile storage. It returns list of asset url's and works both on IOS and Android.

Usage #


Future<void> loadImageList() async {
    List<String> allImage = List<String>();
    List allImageTemp = await PreloadedImages.getImages(count: 5); // your custom count goes here
    allImage.addAll(allImageTemp);
  }
  
  

Note #

IOS: As getting Path URL from PHAsset is asynchronous, the order may not be in sorted form but you will get latest 'X' number of images for sure.

Android: You get images in sorted order.

Preview #

grab-landing-page

grab-landing-page

7
likes
100
pub points
41%
popularity

A new flutter plugin to fetch latest 'X' images from mobile storage. It returns list of asset url's and works both on IOS and Android.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

konakanchisuresh950@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on preloaded_images