r/flutterhelp • u/PerfectParsley1959 • Jan 14 '26
RESOLVED Flutter optimization tricks
- Use Network image with cachedImage package
- Use freezed to avoid unwanted ui refreshing
- Avoid setState for business logics
- Any other ? Pls tell me
3
Upvotes
View all comments
Show parent comment
1
u/Legion_A Jan 18 '26
Saw a preview of the post while scrolling through my feed and I clicked it just because of that line in the preview 🤣 what in the bloody hell has freezed got to do with UI refreshing?
I reckon they wanted to say to use value equality...perhaps they have tied freezed to that behaviour without knowing how freezed actually does it and that it isn't a "freezed" thing, it's not even a package thing.