যদিও Flutter ডিফল্টভাবে পারফরম্যান্ট, পারফরম্যান্স অপ্টিমাইজেশনে অপ্রয়োজনীয় rebuilds কমানো, দক্ষ list rendering, 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
