Hot reload adalah salah satu fitur Flutter yang paling dicintai — memungkinkan Anda melihat perubahan kode tercermin dalam aplikasi yang sedang berjalan hampir secara instan (sub-detik), tanpa menghidupkan ulang aplikasi atau kehilangan status saat ini. Hal ini secara dramatis mempercepat pengembangan dan eksperimen.
Apa yang dilakukan hot reload
HOT RELOAD injects updated code into the RUNNING app:
→ make a code change → save → see it reflected in ~1 second
→ the app KEEPS its current STATE (you stay on the same screen, with the same data)
→ no full restart, no re-navigating to where you were
→ Edit UI/logic and see the result almost immediately while the app runs.
