/Flutter_weather_android_app

The Flutter Weather Android App is a simple app created using Dart programming language and Flutter framework. It uses Weather API to provide current weather and weather forecast for a specified location. The app can be run on a mobile device or emulator after installing the necessary dependencies. Contributions are welcome.

Primary LanguageMakefile

Flutter Weather Android App

This is a simple Flutter Weather Android App, created using the Dart programming language and the Flutter framework. This app uses the OpenWeatherMap API to get the current weather and weather forecasts for a given location.

Weather API

This app uses the Weather API(https://www.weatherapi.com/) to get the current weather and weather forecasts.

To use this app, you will need to obtain an API key from the Weather API website. Once you have obtained your API key, you will need to add it to the

android/app/src/main/AndroidManifest.xml file as follows:

    <application
         ...
    <meta-data
        android:name="com.weatherapi.key"
        android:value="YOUR_API_KEY" />
        ...
    </application>

Getting Started

To run this app on your local machine, you will need to have Flutter installed. You can download and install Flutter from the official Flutter website.

Prerequisites

To run this app, you will need the following:

  1. Flutter 2.0.0 or later
  2. Android Studio 4.1 or later
  3. A mobile device or emulator to run the app on
  4. An API key from the Weather API website

Installing

  1. Clone this repository to your local machine using the following command:

    git clone https://github.com/0007ishav/Flutter_weather_android_app.git
    
  2. Open the project in VS Code.

  3. Install the necessary dependencies by running the following command in the terminal:

    flutter pub get
    
  4. Run the app on a connected device or emulator by running the following command in the terminal:

    flutter run
    

Usage

When you launch the app, you will be asked to provide your location. You can enter your location manually or allow the app to access your device's location services. The app will then display the current weather for your location, as well as a 5-day weather forecast.

Contributing

Contributions are welcome. Please submit a pull request if you would like to make any changes to the code.