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.