How to get Flutter's Hot Reload to work on VS Code?

174 Views Asked by At

I cannot get Hot Reload to work on VS Code. I'm using the drop down menu to "Run without Debugging" (although the problem persists even if I "Start Debugging").

When I press Hot Reload, it shows a success message but the changes are not reflected on the app.

Hot Restart is working perfectly fine.

How do I fix this?

I've tried:

  1. Moving the MaterialApp from main() to another widget.
  2. Making sure the changes I'm testing for are within the build function.
  3. Restarting my computer and VSCode.
1

There are 1 best solutions below

1
MobileDev On

You have several options: