Skip to content
0:00 / 0:00

#flutter#firebaseauthentication#streambuilder

Flutter & Firebase authentication with streams and StreamBuilder

Andrea Bizzotto

41K subscribers • 17 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Andrea Bizzotto
  • Linked in the descriptionbizz84/coding-with-flutter-login-demo
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

17K views7 years ago1 recommendation

Mobile developmentSoftware designFlutter and React NativeSoftware architecture

Andrea Bizzotto explains how to use Firebase auth state streams and StreamBuilder to simplify login flow logic in Flutter.

Sign up here for more videos: codewithandrea.com/ GitHub code for this project: github.com/bizz84/coding-with-flutter-login-demo (or to follow along step-by-step: github.com/bizz84/coding-with-flutter-login-demo/releases/ta…) This video is a continuation on my small series on how to build a login flow with Firebase. In this video I show how to use a special stream called onAuthStateChanged, and use it to simplify our widgets logic. This leads to a very elegant solution using StreamBuilder, which I highly recommend when using Firebase authentication. HIGHLIGHTS - Intro - Getting the latest code from GitHub - Overview of the project - FirebaseAuth.onAuthStateChanged explained - Updating the RootPage with StreamBuilder - Removing all the old code - Benefits of streams + StreamBuilder - Summary & wrap up This code was tested with Flutter stable 1.2. Want more? Check out all my Flutter courses: 👇👇 codewithandrea.com/courses/ Thanks for watching!

Why it's here

1 person recommends this

u/bizz84in r/FlutterDev • Recommends

Flutter & Firebase authentication with streams and StreamBuilder