0

Facing performance issue on Android

In my Flutter app, I'm displaying a lot of images in a scrollable view. On Android, the screen freezes for 7–8 seconds, sometimes crashes, and becomes unscrollable. It works fine on iOS.

Any suggestions on how to optimize or fix this?

Using

  • latest Flutter version

  • CachedNetworkImage

Thanks in advance!

Tryed preaching, sliver list,listview builder

1
  • You are probably displaying high resolution images. You can verify this in Flutter devtools by selecting the "Highligh Oversized Images" and if your images are indeed oversized they will be highlighted/inverted. Commented Jul 4 at 23:44

1 Answer 1

0

I faced the same issue but in react native because of my images resolution is high, so check resolution of your image once and try compressing image size it might help.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.