🔥 Subscribe to my YouTube + Turn on Notification Bells!
👉 / @bryanberk
LINK TO FLUTTER DOCS: https://flutter.dev/docs
Hey, Bryan here. I share videos that help web developers up their development skills!
Today I'll be sharing the fourth part of a News Feed mobile application that we will build using Dart and Flutter. This is going to be a mobile application that runs on both Android and IOS, and we will be using a Django backend server which we send API requests to. We won't be writing the code for the Django backend server, instead I already wrote that code, and will show you how to clone the server from GitHub and get it running on your local environment. The main focus of this tutorial series will be on making a mobile application using Dart and Flutter which is why I won't be writing the code for the Django backend server in this tutorial series.
Here is an overview of the things you will learn in this tutorial project:
1. You will learn how to get up and running with Dart and Flutter.
2. You will learn how to create Widgets in Dart and Flutter.
3. You will learn how to make API requests to a backend server, and in particular how to also make these requests to a backend server running on your local machine.
4. You will learn how to make stateful and stateless components.
5. You will learn how to have something organized in a List and display it onto the screen.
6. And you will learn how to make a mobile app, holy cow!.
In this part, I will be be writing code for making an HTTP request in Dart so that we can make a GET request to our backend Django server running locally on our machine and retrieve our posts. We will see how to make this request, how to pass headers along with our request, how to take JSON data and decode it into a Map data structure that we can use in Dart, and then we will see how we can update our state which will be our posts.
To stay up to date with the best web development content, make sure you subscribe to My YouTube channel Today!
Final project code can be found at: https://github.com/linkedweb/newsfeed
Code for Django server can be found at: https://github.com/linkedweb/simple-s...