Coder Social home page Coder Social logo

figeral / prolego Goto Github PK

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

A weather app made with flutter able to display current weather a in current device or specific location

Kotlin 0.43% Swift 5.98% Objective-C 0.13% Dart 39.63% CMake 31.06% C++ 14.02% C 2.39% HTML 6.37%

prolego's Introduction

Prolego

Your Weather app designed by @Figeral

functionalities

  • Implementation of an MVVM architecture to handle device state changes as default.
  • Get device current locations , displays current weather and forecast 24h.
  • Capable of display weather and forecast on user inputs.

prolego's People

Contributors

figeral avatar

Stargazers

 avatar

Watchers

 avatar

prolego's Issues

Default solution

In case of time constraints in implementing the MVVM architecture , as default solution the body widget can be simply be rawly implemented in the statefull widget of the appbar . This will save us from handling initialisation state and communication between widget .
The main error in the code is the fetch fetched method is be called in the initstate method which itself only runs once at with construction making it not path of the widget tree .

With the MVVM architecture . In the first widget ie. appBar class , submit the input and default value to the fetch method . Go in the controller , create an object of the Body widget which will the initialise with the api fetch parameters

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.