Skip to content

Katariyajiya/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Weather App ๐ŸŒค๏ธ This is a basic weather app I built using Flutter. It fetches real-time weather data from the OpenWeather API and displays the current temperature, weather condition, and some additional details. I made this app as a learning project to improve my Flutter and API integration skills.

Features โœจ Current Weather: Shows the current temperature, weather condition (like sunny, cloudy, or rainy), humidity, pressure, and wind speed.

Hourly Forecast: Displays the weather forecast for the next 8 hours in a scrollable list with time and temperature.

Refresh Button: Allows you to refresh the weather data manually to get the latest updates.

Simple Design: The app has a clean and basic UI to make it easy to use.

How to Use ๐Ÿš€ Clone the Project: git clone https://github.com//weather-app.git

Install Flutter: Make sure Flutter is installed on your system. You can check this by running:

flutter doctor Get Dependencies: Inside the project folder, run: flutter pub get

Set Up the API Key: Sign up at OpenWeather to get an API key. Replace your_api_key in the secrets.dart file with your OpenWeather API key: dart const String openWheatherApiKey = 'your_api_key';

Run the App: Run the following command to launch the app: flutter run

What I Learned ๐Ÿ“ How to fetch data from an API using the http package. Using FutureBuilder to display async data in the UI. Formatting date and time with the intl package. Building custom widgets in Flutter.

Note ๐Ÿ“ข This is one of my first projects, and Iโ€™m still learning. If you have any suggestions or feedback, feel free to let me know. ๐Ÿ˜Š

License ๐Ÿ“œ This project is free to use for learning purposes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages