Hot restart takes more time than hot reload, and it destroys or rebuilds the state value and rebuilds it to the default . The app widget tree is completely rebuilt with a newly typed code. This takes about 23-30 seconds compared with the default app restart time.
Read moreWhat does Hot Reload do?
What does Hot Reload do? The idea behind Hot Reload is simple – while your application is running, you can make changes to the code and apply them to the running application . No recompilation is needed, and when possible, the state of your application is kept intact.
Read moreHow do I hot restart a flutter in terminal?
Perform Hot Restart:
Read moreHow do you use hot reload in flutter Vscode?
To perform a hot restart, run the Flutter: Hot Restart command from the Command Palette, or press Ctrl + Shift + F5 ( Cmd + Shift + F5 on macOS) .
Read more