This is a versatile mobile application project designed to provide users with accurate weather information. This comprehensive guide will provide you with everything you need to know to get started with the project, from installation instructions to a detailed description of its features.
This is a simple weather application which allows a user to:
-
Query a weather API for current weather data via a search bar
-
Query a weather API for weather forecast data
Follow these steps to install and run the weather app on your system.
Before you begin, ensure you have the following dependencies and tools installed:
-
Flutter
-
Dart
-
Code Editor e.g Visual Studio
-
An android emulator / physical device to run the app on
- After successfuly cloning this repo, change your working directory to the cloned repository:
cd WeatherApp
-
Make sure that you have configured your Android SDK and flutter path correctly.
-
Run
flutter doctor
to see if you have any current issues on your system -
Run
flutter pub get
to install the dependencies in the pubspec.yaml file -
Make sure to connect your mobile device or start an emulator.
-
To run the project, type
flutter run
in your command prompt/terminal or run the app in debug mode in visual studio. This will build the project and install it on your connected device or emulator. -
Here are the all the commands to get up and running.
git clone https://github.com/monty-iggy-xtius/WeatherApp.git
cd WeatherApp
flutter doctor
flutter pub get
flutter run
-
On successful build, the application will direct you to a home screen.
-
Navigate to the top-left menu bar and click on it. You can choose to either search for a location of your choice or change the application theme.
-
Search for any location you wish on the location screen and receive its current weather data and weather forecast.
Email-(monmihalo2324@gmail.com)
Thank you for choosing this WeatherApp! If you encounter any issues or have suggestions for improvements, please don't hesitate to create an issue.