How to remove Dart DevTools?
Try to run this command :
flutter pub global deactivate devtools
Go to Settings and change the Open Dev Tools Settings to never. If asked after running the app, select Don't Ask again.
Follow these steps
First go to extension in Vs Code and select Dart extension
Now click on setting Icon
Now search
Dart: Dev Tools Port
in search barNow click on setting icon of
Dart: Dev Tools Port
Then click on Reset Setting
For more information please this documentation Dart settings
To disable DevTools:
Open VS Code settings and search for Dart: Open Dev Tools
and set it to never
. (Removing "dart.openDevTools": "flutter"
from settings.json should work too)
To uninstall/remove DevTools, you can run:
pub global deactivate devtools
(if you havepub
on your path)- or
flutter pub global deactivate devtools
(if you haveflutter
on your path)