I'm new to Google flutter sdk for developing app for Android and ios,
I want to load images in a large ListView
,
I want to load images asynchronously and using caching , in Android JAVA/Kotlin I use Picasso, how can I get similar behavior in Flutter?
official flutter ListView
example : What is the alternative to a ListView in Flutter
Picasso is open source and one of the widely used image download libraries in Android. It is created and maintained by Square. It is among the powerful image download and caching library for Android. Picasso simplifies the process of loading images from external URLs and displays them on your application.
Image loading using Picasso is very easy, you can do it like this way Picasso. get(). load("http://i.imgur.com/DvpvklR.png").into(imageView); and in their website you can get every details. In your case you can parse every image URL and use RecyclerView to show them along with Picasso.
If you want to load and cache your images you could use the CachedNetworkImageProvider. It is still in development, but working quite well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With