Giter VIP home page Giter VIP logo

weatherapp's Introduction

Weather App in Flutter

Overview

This Flutter weather app provides real-time weather information based on user's location. It offers a clean and intuitive interface for users to check current weather conditions, forecasts, and more.

API- weatherapi

Weather API Integration

This weather app relies on a Weather API to fetch real-time weather data. We've integrated a powerful API to provide accurate and up-to-date information. If you'd like to use this app or contribute to its development, you'll need to obtain an API key and configure it in the project.

Obtaining an API Key

To get started, follow these steps:

  1. Sign up for an API Key:

    Visit the website of the Weather API provider and sign up for an account. Once registered, you should be able to generate an API key from your account dashboard.

  2. Configure the API Key:

    Once you have your API key, open the project and locate the configuration file where API keys are stored. Typically, this file is named main.dart or similar. Replace the placeholder YOUR_API_KEY_HERE with the actual API key you obtained.

    Example:

    // lib/main.dart
    
       const String APIKEY = 'YOUR_API_KEY_HERE';  

Features

  • Real-time Weather Data: The app fetches the latest weather information to provide accurate and up-to-date conditions.

  • Location-based: Utilizes the device's location to display weather data specific to the user's area.

  • Forecast: Displays a detailed weather forecast for the upcoming days.

  • Responsive Design: Ensures a seamless experience across various screen sizes and orientations.

Screenshots

Explore the visual aspects of the Weather App through the following screenshots. These images provide a sneak peek into the app's user interface and features.

Installation

To run this app locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/weather-app-flutter.git
    
  2. Change into the project directory:

    cd weather-app-flutter
    
  3. Install dependencies:

    flutter pub get
  4. Run the app:

    flutter run

Dependencies

This project relies on the following external packages and libraries. Make sure to include them in your project's dependencies.

  • Bloc: State management for Flutter.

  • http: HTTP requests and responses.

  • geolocator: Provides easy access to the device's location.

Usage

Describe how users can interact with your app. Include any configuration settings or special instructions

Contributions

If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b . feature/new-feature.
  3. Make your changes and commit them: git 4. commit -m 'Add new feature'.
  4. Push to the branch: git push origin feature/new-feature.
  5. Create a pull request.

Download it

weatherapp's People

Contributors

achiket123 avatar

Stargazers

 avatar

Watchers

 avatar

weatherapp's Issues

UI not updating after recieving data

After hitting refresh,data is fetched and processed but the ui is not updating automatically, i have to click on the screen to update the ui..
I am using flutter_bloc package for state management,
BlocBuilder is not building ..
Please help...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.