I’m developing an app that runs on a low-end device with 2 GB of RAM. Besides, its app has to be working all the time because It’s a weighing app.
When I run the app, it works well, but after a while (2 or 3 days), it starts to be more and more slow and finally freezes, and I have to restart the device.
I ran the Flutter DevTools, and I see there are a lot of janks(slow (slow frames). I tried to divide all parts of the UI into small pieces. Also, I made sure that the UI only refreshed the parts that needed to be redrawn.
The problems, persists. So, any advice to improve the performance? Thank you so much!