Day 7 · Async, Streams & Real APIs
Press F to toggle fullscreen · Esc to exit · I for info
Day 7

Async, Streams & Real APIs

Stop freezing your app. Learn Future, async/await, error handling, real HTTP API calls with jsonplaceholder, and Streams for live data. Final Dart day before Flutter week.

Topics Covered
Future & async/awaittry/catch/finallyHTTP PackageReal API Calls (GET, POST)JSON ParsingStreams (async*, yield)Stream vs Future3 Quizzes + API Project
Resources
Dart Asynchronous Programming Dart Streams Tutorial http package JSONPlaceholder (free API) OpenWeatherMap (for assignment) DartPad
Assignments
1
Complete all 3 in-slide quizzes
2
Sign up at openweathermap.org for free API key
3
Build a Weather App: fetch Kathmandu weather via http
4
Handle errors with try/catch
5
Show temperature, humidity, condition
6
BONUS: Stream weather updates every 30 seconds
7
Push to flutter-tr06 via PR