Flutter Firebase Authentication | Middleware | Manage User State & Redirects

preview_player
Показать описание
In this tutorial, we dive into the essential topic of user state management in a Flutter Admin Panel. We'll explore how to implement an authentication repository that efficiently handles user logins and logouts, ensuring secure access to different screens based on the user's authentication state.

🎬 PLAYLISTS

ADMIN PANEL TEST CREDENTIALS

FLUTTER ADMIN PANEL SECTIONS
► Section - 1 (Configuration)
► Section - 2 (Navigation)
► Section - 3 (Responsive)
► Section - 4 (Admin Mgmt)
► Section - 5 (Dashboard)
► Section - 6 (Media)
► Section - 7 (Design Screens)
► Section - 8 (Firebase Backend)
► Section - 9 (Deployment)

SUBSCRIPTIONS

COURSES

RELATED VIDEOS

CHAPTERS
00:00 Introduction
02:47 Section
04:54 Create Authentication Repository
05:30 Firebase Authentication Mistakes
05:41 Get Authenticated User
07:18 Redirect Screen
14:12 Set Persistence
10:07 Create a reusable widget for middleware(TMiddleware)
14:12 Redirection using custom widget(TAppRoutes)

FOLLOW US ON SOCIAL MEDIA
💻 Facebook | / codingwithtea
💻 Instagram | / coding_with_tea

🔍 DETAILS

Welcome to another tutorial on Coding with Te! In this video, we dive into the essential topic of user state management in a Flutter Admin Panel. We'll explore how to implement an authentication repository that efficiently handles user logins and logouts, ensuring secure access to different screens based on the user's authentication state.

You'll learn how to redirect users to specific URLs only if they are authenticated, and we’ll demonstrate this with a live e-commerce admin dashboard. This tutorial is part of our ongoing series focused on building a complete Flutter web application, where we also cover previous sections on routing and responsive design.

🔑 Key Concepts Covered:

Creating an authentication repository for user management.
Implementing user login and logout functionality.
Redirecting users based on authentication state.
Managing persistent login sessions in Flutter web applications.
📚 Be sure to watch the previous videos in our series for foundational knowledge on routing and responsive design. If you have questions, feel free to drop them in the comments!

Don't forget to subscribe for more Flutter tutorials and hit the notification bell to stay updated on our latest videos!
Рекомендации по теме
Комментарии
Автор

Well done bro 👍. This series is geatly helping me understand flutter in details and app development in general. Everyday i wake up to check your channel if there's new upload. I can't wait to complete the rest of the videos

mawuenaveddi
Автор

Hello sir as you mentioned repeatedly about other features which you will cover after the admin panel such as search screen, order details, delivery boy etc i wanted to ask you if you will deploy both the web and the mobile app ?
Thanks in advance

xasanmahdi