Ahmed Shaat
Ahmed Shaat

Reputation: 21

flutter why the app crashing when using a lot of image asset

enter image description hereI used 52 images in the assets and they were jpg and the application was crashing and I pagination gridview.builder and also the problem happened the same !

Upvotes: 0

Views: 302

Answers (1)

Ahmed Shaat
Ahmed Shaat

Reputation: 21

I solve it by using cacheHeight and cacheWidth in Image.asset

Upvotes: 1

Related Questions