preloaded_images 1.0.1 copy "preloaded_images: ^1.0.1" to clipboard
preloaded_images: ^1.0.1 copied to clipboard

outdated

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.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

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

9
likes
40
pub points
0%
popularity

Publisher

verified publishersuresh-konakanchi.in

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

License

MIT (license)

Dependencies

flutter

More

Packages that depend on preloaded_images