FLUTTER ECOSYSTEM

LonelyCpp/flutter_weather

一款使用 Flutter 构建的优雅且赏心悦目的天气应用

flutter_weather 项目封面
Stars
401
Forks
65
最近推送(UTC)
2021年5月14日
项目状态
未归档
Ananthu GitHub avatar
GITHUB User

Ananthu ↗

Mobile Developer

@smallcaseIndia
语言DartRubyObjective-CJava

技术话题

使用的依赖

依赖清单 13 项

所在榜单

原始 README

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

展开 / 收起项目 README

Flutter Weather

A Flutter application to view current weather status.

preview

Features

  • :white_check_mark: Beautiful minimal UI
  • :white_check_mark: Dark and Light themes
  • :white_check_mark: Current temperature, max and min temperature, sunset, sunrise
  • :white_check_mark: Custom icons for each weather condition
  • :white_check_mark: 5 day forecast
  • :white_check_mark: Beautifully animated transitions
  • :white_check_mark: BLoC pattern for API calls
  • :white_check_mark: Line graph to show temperature variance

Getting Started

Prerequisites

Flutter

Installing

API Key

Create a file called api_keys.dart in lib/src/api/

Make a class called ApiKey with your openweathermaps API key in it. Get it here

eg:

class ApiKey {
  static const OPEN_WEATHER_MAP = 'your_key';
}

todo

  • i18n support for multiple languages

Acknowledgments