I have search for this issue and seen solutions, but I am not able to figure out the issue. i get some error because every time write the code, its directly run hot reloads before i finish complete the code. so, how to disable automatic hot reloads in flutter? automatic hot reloads in flutter is so annoying, i just want to use hot reloads base on Ctrl + S. how i do that? i'am using visual studio code by the way.
-
you might no longer need to disable this manually. see [Flutter hot reload doesn't work on autosave in VSCode](/q/65975713/11107541) – starball Aug 27 '23 at 08:08
5 Answers
If you are using Android Studio 4.1 go to:
On Mac: Android Studio -> Preferences -> Languages & Frameworks -> Flutter
On Windows: File -> Settings -> Languages & Frameworks -> Flutter
Then, after being at Flutter section, look for "App Execution" and there you have to uncheck the box "Perform hot reload on save". Then click OK and that's it.
Here is how:

- 3,878
- 31
- 44
Disable auto save on VsCode:
Go to File > Preferences > settings
Choose off from the auto save drop down.

- 510
- 5
- 16
-
if i disable flutter hot reload on save, i can't use Ctrl+S to reload by my self – mamena tech Apr 16 '20 at 00:48
-
1Don't disable hot reload, it's quite handy. Just disable auto save and ise ctr + s everytime. – Marcos Maliki Apr 16 '20 at 05:38
In VS Code, alternative to turning off auto-save:
Turn off these settings:
Settings > Extensions > Dart & Flutter > Flutter Hot Reload On Save
Settings > Extensions > Dart & Flutter > Flutter Hot Restart On Save
Then use Run > Restart Debugging to restart manually or Crtl + F5 to Hot Reload

- 1,133
- 14
- 10
To disable Auto Save on VS Code
Go to File > Preferences > settings turn off Auto Save
- To disable Hot Reload or Hot Restart on save search setting with auto hot, and disable the setting.

- 333
- 3
- 6
If you are using Intellij IDEA (or Android Studio) you might as well disable Hot UI if enabled:
File > Preferences > Languages & Frameworks > Flutter > Enable Hot UI (disable it)

- 34
- 3
-
1if i disable flutter hot reload on save, i can't use Ctrl+S to reload by my self – mamena tech Apr 16 '20 at 00:48
-
1