项目作者: maoz-grossman

项目描述 :
Worldwide weather forecast application. Based on The Complete 2020 Flutter Development Bootcamp with Dart
高级语言: Dart
项目地址: git://github.com/maoz-grossman/Clima-Flutter-Completed.git
创建时间: 2020-11-19T11:01:03Z
项目社区:https://github.com/maoz-grossman/Clima-Flutter-Completed

开源协议:

下载


Clima-Flutter-Completed

Worldwide weather forecast application. Based on The Complete 2020 Flutter Development Bootcamp with Dart

Goal Of Tutorial

The objective of this tutorial is to learn about asynchronous programming in Dart. We look at how to carry out time consuming tasks such as getting device location and networking to get data from the internet.

How It’s Going To Look Like

We’re going to make a weather app inspired by the beautiful designs made by Olia Gozha. By the end of the module, you’ll be able to find out the live weather data in the current location of the device as well as the weather for any city you can think of!

Finished App

The original design:

Finished App

What We Learned

  • How to use Dart to perform asynchronous tasks.
  • Understand async and await.
  • Learn about Futures and how to work with them.
  • How to network with the Dart http package.
  • What APIs are and how to use them to get data from the internet.
  • What JSONs are and how to parse them using the Dart convert package.
  • How to pass data forwards and backwards between screens using the Navigator.
  • How to handle exceptions in Dart using try/catch/throw.
  • Learn about the lifecycle of Stateful Widgets and how to override them.
  • How to use the Geolocator package to get live location data for both iOS and Android.
  • How to use the TextField Widget to take user input.

This is a companion project to The App Brewery’s Complete Flutter Development Bootcamp, check out the full course at www.appbrewery.co