Bár a Flutter alapértelmezés szerint teljesítményes, a teljesítmény optimalizálása az szükségtelen rebuilds minimalizálásával, hatékony **lista renderelésével, a const megfelelő használatával, drága munkák elkerülésével a build-ben, és profilozással jár. Ezen ismeretek megértése sima alkalmazásokat biztosít (60/120 fps).
Az szükségtelen rebuilds minimalizálása
✓ 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
