Finding Location / Coordinates in Dart


For a project I am doing I really need to find a location or Coordinates. I do not know how to get a Location / coordinates, I dont think that dartium supports many ways of getting locations / coordinates. I am guessing I would use navigator.getLocation but it is not working. Help?



According to this bug report ( it is not supported.
You need to build to JavaScript and run in Chrome to get the location.

When you use pub serve (as recent DartEditor versions do) you can open the same URL in Chrome you are using in Dartium.

Answered By – Günter Zöchbauer

Answer Checked By – Robin (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *