แม้ Flutter จะมีประสิทธิภาพดีโดยค่าเริ่มต้น แต่การเพิ่มประสิทธิภาพเกี่ยวข้องกับการลด rebuilds ที่ไม่จำเป็น, การ render list อย่างมีประสิทธิภาพ, การใช้ const อย่างเหมาะสม, การหลีกเลี่ยงงานหนักใน build และการ profiling การเข้าใจสิ่งเหล่านี้ช่วยให้แอปลื่นไหล (60/120 fps)
ลด 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
