skip to Main Content

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?

2

Answers


  1. In most cases HOT RELOAD work as change on only that page, The app reload is called HOT RESTART.

    Login or Signup to reply.
  2. 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!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search