Can I change the default browser that is used for Flutter DevTools? Is it compatible with Firefox or other browser? In my case, I don't like Chrome very much, i's a little slow and heavy compared to firefox and others. I haven't found any solution so far, even changing the settings through VS Code. Thanks!
In Android Studio open up your Preferences and in the top left there is a search bar. Type in "Web Browsers". You will see a list of web browsers and you can click and drag. Place the one you want to use by default on top.
Now run your Project and then click [ctrl] + [alt] + [d] for running dart devtools. VSCode is asking you where you wish to open DevTools.
To upgrade DevTools, upgrade your Dart SDK. If a newer Dart SDK includes a newer version of DevTools, dart devtools will automatically launch this version. If which dart points to the Dart SDK included in your Flutter SDK, then DevTools will be upgraded when you upgrade your Flutter SDK to a newer version.
I don't think that anyone has properly answers this question yet so I'll give it a go.
In my case, my computers default browser is set to Safari but Safari doesn't work well with Flutters Dev Tools at the moment. So.. how can you keep your computers default browser and specify a browser you want to use when starting dev tools?
In Android Studio open up your Preferences and in the top left there is a search bar.
Type in "Web Browsers".
You will see a list of web browsers and you can click and drag. Place the one you want to use by default on top. For example I have chrome on the top of my list.
Now just set this from "System default" to "First listed" and apply your changes
When you press this button to open dev tools it will now, in my case, open chrome instead of safari even though Safari is my computers default browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With