A simple app to get weather details of users location
Clima
Clima is a Weather App which shows the temperature of current location
The App helps to get the Weather(specifically temperature) of users GPS location. App gets access to the devices location and fetches the coordinates which is used as a parameter to make API call. In response the app recieves a JSON data which contains data such as temperature, humidity, wind, clouds, type of weather etc.
How to run app
- Clone the project
- Create .env file and add your API key in a variable “OPEN_WEATHER_API_KEY”
- Run the app
Packages Used
- geolocator : https://pub.dev/packages/geolocator
To get access to android systems location add following code “” in AndroidManifest.xml file (located under android/app/src/main)
-
flutter_spinkit : https://pub.dev/packages/flutter_spinkit
API Used
OpenWeatherMap : https://openweathermap.org/api