A Flutter application that fetches and displays the user's current location using the device's GPS. The app uses the provider package for state management.
- Prerequisites
- Setup
- Running the App
- Dependencies
- License
Before you begin, ensure you have met the following requirements:
- Install Flutter on your machine.
- Ensure you have a compatible IDE (e.g., Visual Studio Code or Android Studio).
- Enable Developer Mode on your Windows machine to run desktop applications.
- Ensure your device has location services enabled.
-
Clone the repository: git clone https://github.com/yourusername/location_map_app.git cd location_map_app
-
Install dependencies: Make sure you're in the project directory, then run: flutter pub get
-
Update your
dart.flutterSdkPath: Ensure that thedart.flutterSdkPathin your VS Code settings points to your Flutter SDK path.
To run the app, execute the following command in your terminal: flutter run
When prompted, select the device you want to run the app on (Windows, Chrome, or Edge).
This app uses the following dependencies:
- flutter
- provider
- geolocator
- geocoding
- flutter_map
You can find the latest versions of these packages in the pubspec.yaml file.
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to the Flutter community for their amazing resources and support.