If your project was created before Flutter 1.12, you might need to follow this.
With Flutter 1.12, all the dependencies are automatically added to your project. Web demo (more features available on Android/iOS) Getting Started #Īdd this to your package's pubspec.yaml file: dependencies: It also provides callbacks when the location is changed. Handles getting a location on Android and iOS.