https://github.com/orhanweb/weather_app
An application that retrieves weather data for your area using an API.
https://github.com/orhanweb/weather_app
dart flutter
Last synced: about 1 month ago
JSON representation
An application that retrieves weather data for your area using an API.
- Host: GitHub
- URL: https://github.com/orhanweb/weather_app
- Owner: orhanweb
- Created: 2021-09-17T21:00:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-18T02:14:11.000Z (over 4 years ago)
- Last Synced: 2025-02-17T23:47:00.168Z (over 1 year ago)
- Topics: dart, flutter
- Language: Dart
- Homepage:
- Size: 55.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HavaDurumuApp
This app made for learning Flutter.
## You need to know before you start
The first time you run the application, the same city is always displayed because I used a city as static.
You can also search based on your location. I designed the application in such a way that it can receive
location information and bring weather data.
But I had to comment line this feature out because I only
tried it on the emulator.
`/*void getDevicePosition() async{
print("Konum alınıyor...");
try{Position position =
await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.lowest);}
catch(e){
print("Şu hata oluştu $e");
}
print("Konum alındı.");
}*/`
If you want the application to search by location information when first opened, simply remove this
feature from the comment line and add it to the necessary places.
## Working Principle
The working principle of the application is quite easy. The first time the application runs, it uses the
default value to show you the most up-to-date weather information and 5-day temperature values.
If you want to enter a city yourself instead of the default value, simply press the search button next to the city name.
The application consists of two pages, I am sure you will understand easily.
I don't think I need to explain the rest.
Good working to you guys.