When I add an Image asset to my project and later change the image file in the asset directory without changing its filename, it doesn't update in the app. I've tried hot reload, full restart, uninstalling and reinstalling app, flutter clean, gradle
clean. All not working, even invalidate and restart android studio, still not working.
I understand you are updating asset files without changing image name and you are wondering how to tell flutter to reread your asset.
I had the same problem, making small changes to json file included as an asset.
flutter clean
flutter packages get
flutter run
Works for me
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