GithubHelp home page GithubHelp logo

rafaelortizzableh / weather_app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 432 KB

Weather App allows you to get the weather from your current location.

Kotlin 0.14% Ruby 1.50% Swift 0.45% Objective-C 0.04% Dart 93.50% HTML 4.37%

weather_app's Introduction

weather_app

Weather app, as the name implies, allows you to check the weather in your location.

How to run this app

In order to run this application on your Android or iOS device or simulator. You need to either run or build the application with an API Key provided by Open Weather.

Get you Open Weather API key by visiting the following link:

After getting the key, you may either build the app or run the app by entering flutter build or flutter run on your terminal, with the following argument: "--dart-define", "WEATHER_API=[YOUR_API_KEY]".

Functionalities

Once you open the app the weather data for the current time in your location will be fetched, as well as data for the next five days.

You can pull to refresh on the homescreen to fetch new weather data. If you have fetched data before, and you fetch data without an Internet connection, the previously loaded data will be displayed.

You can also change the theme by tapping on the action button on the AppBar (top right). By default, the device's system theme is used.

The app is available in both English, Italian and Spanish depending on the user's locale.

For the future

Using a different Weather API, a more accurate weather forecast could be shown to the user. The current implementation is a workaround, given the fact that OpenWeather requires users to have a paid Account in order to use the Daily Forecast option.

Dynamic backgrounds depending on the current weather may also be an interesting concept to consider in the near future.

Others

MVU architecture used. As well as repository-service pattern. State Management is handled with Riverpod.

weather_app's People

Contributors

rafaelortizzableh avatar

Watchers

 avatar

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.