Sign up here for more updates: 👇👇
https://codewithandrea.com/
LEVEL: INTERMEDIATE / ADVANCED
This multi-part tutorial shows how to use Provider to build an app that lets the user choose and upload an avatar image to Firestore.
- We will start from a sample project which already contains some widgets and services.
- We will see how to use Provider to connect things together.
- We will learn how to setup an architecture that supports more complex applications.
FULL SOURCE CODE 👇👇
https://github.com/bizz84/firebase_user_avatar_flutter
HIGHLIGHTS
01:50 - Getting the source code on GitHub + overview of the app services
01:17 - Tutorial overview
04:00 - GitHub code & project setup
04:12 - Challenge: Build it yourself
04:41 - Let's code
05:00 - MultiProvider
06:10 - Downloading and showing the avatar
07:12 - Nesting StreamBuilders (and why it's a bad idea)
08:22 - Accessing stream values synchronously in the widget tree
09:56 - Choosing, uploading and saving an avatar image
12:44 - Suggested improvements for production-ready apps
14:18 - Viewing the data on the Firebase Console
14:53 - Wrap up
Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/
Thanks for watching!