DEV Community

Discussion on: Build a gallery app using Flutter

Collapse
 
jpolstre profile image
jpolstre

Thanks for the article, but I would know how to say since you put WhatsApp and Messenger as an example: how would this be implemented to handle huge amounts of images and videos without breaking the app, I mean the use of memory and cache. Since apparently no flutter Widget can draw images brought from the Internet efficiently. After reviewing many articles and trying many ways to achieve what I gave up on flutter. the only way to do that is with native code.

Collapse
 
aouahib profile image
Abdou Ouahib

I am not sure I understand.
First, we are not loading images from the internet, but from the phone storage.
Second, I don't think loading many images will cause any performance issues, since we'll be using (List/GridView).builder, so we'll only be displaying a few images each time.
You can check this github issue for more insights: github.com/flutter/flutter/issues/...