Embora Flutter seja performático por padrão, otimizar o desempenho envolve minimizar rebuilds desnecessários, renderização eficiente de listas, uso apropriado de const, evitar trabalho custoso na build e fazer profiling. Entender isso mantém apps suaves (60/120 fps).
Minimizar rebuilds desnecessários
✓ 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
