How to change Flutter DevTools default browser? How to change Flutter DevTools default browser? flutter flutter

How to change Flutter DevTools default browser?


  1. Use flutter run -d web-server
  2. open app with browser other than Chrome


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.Browser List

Now just set this from "System default" to "First listed" and apply your changes

enter image description here

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.enter image description here