Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hot reload returns to the first page

I have a question about Flutter. In the application I made myself, log in from the login page and display the next page, When I edit main.dart and save it, it returns to the first page. Is it by specification that hot reload should return to the first page instead of working for the current page?

Added 4/18 10:15 JST.
After isolating the cause, it became HotRestart when the device was chrome. If the device is windows, it became HotReload. Is HotReload not supported in chrome?

like image 650
kyouno Avatar asked Oct 11 '25 12:10

kyouno


1 Answers

Hot reload is not supported for Flutter web. These official docs make it clear that "Flutter web currently supports hot restart but not hot reload." You'll have to use hot restart for now!

like image 94
DJSjr Avatar answered Oct 14 '25 10:10

DJSjr