हालाँकि Flutter डिफ़ॉल्ट रूप से performant है, performance को optimize करने में अनावश्यक rebuilds को कम करना, कुशल list rendering, const का उचित उपयोग, build में महँगे काम से बचना, और profiling शामिल है। इन्हें समझने से ऐप smooth (60/120 fps) बने रहते हैं।
Minimize unnecessary rebuilds
✓ Use CONST constructors where possible → const widgets aren't rebuilt (huge win)
const Text('Static') // not rebuilt unnecessarily
✓ Keep setState/rebuild scope SMALL → rebuild only what changed (extract widgets so
state changes rebuild a small subtree, not the whole screen)
✓ Use targeted state management (rebuild only widgets that depend on changed state)
✓ Don't rebuild large trees for small changes
