This app made for learning Flutter.
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.
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.