Summary
Full Transcript
Part of the Free Flutter Course playlist: https://www.youtube.com/playlist?list=PL6yRaaP0WPkVtoeNIGqILtRAgd3h2CNpT In this chapter we will have a look at allowing a logged-in user in our application to log out. This will allow that user to log back in with another registered user. We will need to develop a log out dialog so that the user can confirm their choice. We will learn about PopupMenuButton as well as displaying dialogs. 0:00 Chapter 18 1:24 Main Ul of the app 3:18 Notes View Widget 7:20 AppBar for displaying logout 10:20 Return Notes View in HomePage 15:16 We need popup items enumeration (soon) 21:55 MenuAction enum 22:36 Add your popup menu button 28:15 Use log instead of print 38:10 Write a logout function to display a dialog 44:48 Let's display our dialog upon logout 47:32 Log out from Firebase 49:07 Go back to login view upon logging out 52:04 Let's commit and tag 53:18 Let's prepare for next chapter π¦ Twitter: https://twitter.com/vandadnp π΅ LinkedIn: https://linkedin.com/in/vandadnp π€ Want to support my work? https://buymeacoffee.com/vandad
