Clima ☁
Our Goal
The objective of this tutorial is to learn about asynchronous programming in Dart. We’ll look at how to carry out time consuming tasks such as getting device location and networking to get data from the internet.
What you will create
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!
What you will learn
- 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.
GitHub