Let's learn to program in Dart, and more importantly how to interact with remote APIs!
Everyone and their brother have made a weather application as part of their learning-to-code experience. But how many have learned to make a command-line weather application? I'm better not many!
Chapters
00:00 - Introduction
00:40 - Does ChatGPT Think This is a Good Idea?
01:18 - What We Will Learn
02:10 - Drafting and Pseudo Code
03:16 - The Growing Importance of "Coding" in English
03:40 - Pseudo Code Walkthrough
04:17 - Choosing Our Weather API
04:41 - Main Function Pseudo Code
06:19 - Getting the Zip Code
07:22 - What is Refactoring?
08:13 - Back to Zip Code Capture
08:42 - Validating Zip Code Input
10:51 - Setting up Weather API and Getting a Key
12:19 - Creating a Config File
13:42 - Importance of Reading Documentation
14:50 - Connecting to the API
17:22 - Installing the HTTP Package
20:15 - Using HTTP to Pull Data From the API
22:18 - Making Sure Our Connection is Valid
23:45 - Using the Data (jsonDecode and More!)
26:13 - Choosing Info to Display to User
27:05 - Formatting and Displaying Data
29:58 - Adding the Weather Forecast
33:55 - Installing the intl Package
35:31 - Working with DateFormat and DateTime
37:09 - Final Thoughts
Watch video Building a Weather App in Dart || Learn to Use an API || Flutter / Dart Tutorial online without registration, duration hours minute second in high quality. This video was added by user FlutterED - Learn Flutter and Dart 10 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 447 once and liked it 14 people.