← findnix.eu
🎬 tube.tchncs.de tube.tchncs.de

Network Request - Flutter Explained - Level: Beginner

⏱ 23:52 🌐 tube.tchncs.de

Today we have a tremendous episode of Flutter Explained. I have the honour to explain to you guys how a future request works. In one of my episodes, I explained the future builder but I left the network request out of scope. Today I will turn this around, we ignore the UI and concentrate only on the Network request. We will create a Person Model that is our representation of a Person from the API in Dart. The fromJson Constructor will be very handy in that situation to create for us the Person object. After that, we will create a Future request with the HTTP package from pub.dev to get all the information that we want to display.  ⭐️⭐️ Helpful Ressources ⭐️⭐️ Repository: https://github.com/md-weber/network_request_tutorial Flutter JSON Serialization: https://flutter.dev/docs/development/data-and-backend/json ⭐️⭐️ Timeline ⭐️⭐️ 0:40 - pub.dev access the HTTP package (https://pub.dev/packages/http) 1:30 - random user generator API (https://randomuser.me/) 2:45 - explaining the boilerp

β†—https://tube.tchncs.de/w/jExhSLsotzaybDh6ZBjTGM
flutter flutter tutorial flutter http request flutter http flutter dart
Indexiert von findnix.eu Β· Eigene Seite einreichen