搜索插件、代码仓与 APP 分类

GitHub 代码仓rrafush/weather_app

weather_app

从世界各地的城市获取天气数据!

weather_app 项目封面
星标
62
复刻
7
最近推送(UTC)
2022年8月9日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Weather Today: A weather app built in Flutter with mobX and the MetaWeather API

This project is my first one built in flutter, and I was inspired by the Flutter Modular architecture to structure the folders:

Weather Today app preview

The project uses the MetaWeather API to fetch a list of cities and their respective weather data such as minimum and maximum temperature, weather state, date, wind speed and direction.

Installing the project

You can install this app on your android phone downloading the apk file weather-today.apk in this repository.

App Overview

The application is pretty simple, it is a one page application with a search bar and it has mainly three states: the first screen when the user is not searching anything, the main screen that shows the user data fetched from the API, and an error screen in case something wrong happens.

App Structure

This app was made as an extension of the terminal app built in the Dart complete course from Andrea Bizzotto on Udemy, but as I transformed it into a flutter app, I felt the need of a project architecture. For that reason I chose to sctucture my project based on the Flutter Modular architecture, because I find it easy to understand and also scalable.

The project folders are structured like this:

/lib
  /models
  /modules
    /search
      /repositories
      /results
  /theme

Inside models you can find the classes created to best represent data from the API.

Modulesare the pages inside the app and since it is a unique page application, we only have the search module. Inside it we have the repository, responsible for fetching data from the API.

Packages used in this project

Credits

This project was made inspired by the app built on the Dart complete course by Andrea Bizzotto. I have to thank the girls from Flutter Girls who always support and help me in every issue I bump into, you are the best!

LICENSE: MIT

Rafaela Martins GitHub avatar
GitHub 作者

Rafaela Martins ↗

Mobile Engineer | Flutter

iFoodCuritiba
语言DartHTMLRubySwiftKotlinObjective-C

依赖Flutter组件

App 分类

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗