Hot reload yra viena iš Flutter labiausiai mylimų funkcijų — ji leidžia jums matyti kodo pakeitimus atsispindusius veikiančioje programoje beveik akimirksniu (mažiau nei sekundę), be programos paleidimo iš naujo ar jos esamos būsenos praradimo. Tai dramatiškai pagreitina kūrimą ir eksperimentavimą.
Ką hot reload daro
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.
