No video

Everything You Need To Know About Flutter Favorite using local storage and firebase

  Рет қаралды 3,900

Coding With T

Coding With T

Күн бұрын

In this tutorial we will learn how to toggle a favorite icon button, store product IDs in local storage using shared preferences (Getx), and dynamically retrieve product details from Firebase-all tailored to individual users.
► Complete E-Commerce App Playlist : • Professional Flutter E...
🎊 E-COMMERCE APP
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🎁 DOWNLOAD SOURCE CODE: codingwitht.com/product/flutt...
❤️ FLUTTER E-COMMERCE APP PLAYLISTS
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Complete E-Commerce App : • Professional Flutter E...
► Section - 1 Configuration : • Professional Flutter P...
► Section - 2 Login App : • Professional Flutter P...
► Section - 3 eCommerce UI : • Flutter Complete Ecomm...
► Section - 4 Login Backend: • Flutter Firebase Cours...
► Section - 5 eCommerce Backend: • Flutter E-Commerce App...
❤️ SUBSCRIPTIONS
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Join Patreon to Access Premium Content: / membership
COURSES
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► FLUTTER CRASH COURSE • Flutter Crash Course f...
► LOGIN APP FIREBASE • Flutter Login App - UI...
🧑‍💻 RELATED VIDEOS
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► Home Screen Design(categories): • Search Bar and Horizon...
► GetX Basics: • Flutter Firestore CRUD...
CHAPTERS
00:00 Introduction
00:11 Video Overview
02:00 Playlist Overview
04:55 Create instance for Favorite Controller
05:30 Create Storage Utility class for Getx Local Storage
06:03 How Local Storage Works
08:04 How to store data of specific user in local storage
14:24 Create a favorite controller
22:11 Get product data from Firebase database
24:08 Create Toggleable Favorite Icon
26:25 Display Products using future builder in Wishlist screen
FOLLOW US ON SOCIAL MEDIA
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
💻 Facebook | / codingwithtea
💻 Instagram | / coding_with_tea
Description:
In this in-depth Flutter tutorial by Coding with T, discover the ultimate guide to creating a personalized Wishlist feature. Learn how to toggle a favorite icon button, store product IDs in local storage using shared preferences (Getx), and dynamically retrieve product details from Firebase-all tailored to individual users. Whether you're a Flutter enthusiast or a seasoned developer, this tutorial promises to elevate your app's user experience.
🔍 Key Tutorial Highlights:
Toggling Favorite Icon Button: Master the Flutter coding process to create an interactive user experience by toggling a favorite icon button.
Local Storage with User-Specific Buckets: Explore the power of shared preferences in Getx to create personalized local storage buckets based on user IDs.
Storing & Retrieving Product IDs: Learn how to efficiently store and retrieve product IDs in local storage, ensuring a seamless Wishlist experience.
Dynamic Product Display from Firebase: Discover how to dynamically display product details from Firebase using FutureBuilder, providing a personalized touch to each user's Wishlist screen.
👩‍💻 What You'll Learn:
✔️ Toggle favorite icon buttons in Flutter for an engaging user experience.
✔️ Utilize shared preferences in Getx to create personalized local storage buckets for each user.
✔️ Efficiently store and retrieve product IDs in local storage, enhancing the Wishlist functionality.
✔️ Dynamically fetch and display personalized product details from Firebase using FutureBuilder.
🌟 Why Watch?
Whether you're optimizing your existing Flutter app or starting a new one, this tutorial provides actionable insights for creating a personalized Wishlist feature with local storage and Firebase integration. Subscribe, like, and hit the bell icon for more user-centric tutorials from Coding with T!
#FlutterFavorites #LocalStorage #FirebaseIntegration #FlutterTutorial #CodingWithT #UserExperience #WishlistScreen #PersonalizedWishlist

Пікірлер: 36
@pacson
@pacson 7 ай бұрын
The search function next would be perfect!!
@RamdanCode
@RamdanCode 7 ай бұрын
"Wow, what an incredibly informative tutorial! 🚀 Your step-by-step guide on Flutter Favorites, local storage with shared preferences, and Firebase integration is a game-changer. The way you explained toggling the favorite icon button and dynamically fetching product details from Firebase is so clear and easy to follow. I truly appreciate your effort in making complex concepts so accessible. Your teaching style is fantastic! 👏 The use of Getx for shared preferences is a brilliant touch-it adds simplicity and efficiency to the process. Thank you, [Channel Owner's Name], for sharing your expertise. Your content has been a tremendous help in enhancing my Flutter skills. Looking forward to more amazing tutorials from your channel! 🙌"
@CodingwithT
@CodingwithT 7 ай бұрын
Thank you for all of your great remarks
@pacson
@pacson 7 ай бұрын
Nice, been waiting for this!
@CodingwithT
@CodingwithT 7 ай бұрын
Hope you learned something new!
@pacson
@pacson 7 ай бұрын
@@CodingwithT I definitely did! Thank you!
@professionneljacques4210
@professionneljacques4210 2 ай бұрын
👏 Clap your hands for him 👏
@CodingwithT
@CodingwithT 2 ай бұрын
Thank you so much 😊
@khaledmohamed6777
@khaledmohamed6777 7 ай бұрын
Can you please help me, After applying the tutorial everything was good but whenever I close the app and reopen it the data got remove from the storage as I didn't save anything
@amitpatel-lw9mx
@amitpatel-lw9mx 7 ай бұрын
Your code structure is pretty nice ! Could you please make the single video for, like what we should update in the code to get and send the data from the server using API instead of Firebase ? Thank You !
@CodingwithT
@CodingwithT 7 ай бұрын
I will try!
@amitpatel-lw9mx
@amitpatel-lw9mx 6 ай бұрын
@@CodingwithT Thank You
@Oveshshaikh001
@Oveshshaikh001 7 ай бұрын
Can you scale this series into admin and multi vendors app?
@twix975
@twix975 4 ай бұрын
Sir in which video did you make the cloud_helper_dart?
@CodingwithT
@CodingwithT 3 ай бұрын
You can get the code from project starter kit for free codingwitht.com/product/flutter-ecommerce-app-with-firebase
@IamJerico
@IamJerico 7 ай бұрын
When I click the plus Icon from the wishlist screen on the right.. it goes to homescreen but the navigation bar menu is removed
@CodingwithT
@CodingwithT 7 ай бұрын
Instead of calling Home Screen call the NavigationMenu Which has BottomNavigation
@user-bg8xq8jo2g
@user-bg8xq8jo2g 7 ай бұрын
how many videos are left?
@maazafridi2090
@maazafridi2090 6 ай бұрын
when we work with you it looks straightforward.... but when we do it by ourselves it isn't that easy. 😩 by the way nice tutorials.
@CodingwithT
@CodingwithT 6 ай бұрын
Keep it up Maaz I read your comments often and I can assure you that if you keep doing the struggle you will shine 💪.
@alwajeehalwajeeh
@alwajeehalwajeeh 6 ай бұрын
When i add the product the message appear: the item added to the wishlist successfully but when go to the wishlist it's be empty.
@CodingwithT
@CodingwithT 6 ай бұрын
Debug your code and see where the issue is
@alwajeehalwajeeh
@alwajeehalwajeeh 6 ай бұрын
@@CodingwithT thank you my friend I'm solve the problems, the problem is I'm forget the exclamation mark in the loader condition snapshot.hasaData !snapshot.hasData When the admin panel start my friend?
@jeremymunroe
@jeremymunroe 4 ай бұрын
Anyone getting an Unhandled Exception: LateInitializationError?
@CodingwithT
@CodingwithT 3 ай бұрын
This means that you have to assign a value of the variable but you didn't. Just declared the variable.
@arjunshrestha190
@arjunshrestha190 7 ай бұрын
There's a growing demand for skilled professionals in the e-learning field. Your knowledge and experience would be invaluable in creating a comprehensive course on Professional E-learning Systems. Would you be interested in developing one?
@CodingwithT
@CodingwithT 7 ай бұрын
Thank you. Yes sure, I would be happy to take the project. Please reach me at support@codingwitht.com or WhatsApp. Message Coding with T on WhatsApp. wa.me/923178059528
@arjunshrestha190
@arjunshrestha190 7 ай бұрын
@@CodingwithT Thank you
@midoismael9571
@midoismael9571 6 ай бұрын
hello bro i got a problem which is when i log out and log in with another user it sows me the favorites has been stored previously but i only want the favorites of this person and i did the same as you did although i am workin with bloc but everything else is the same do you have an idea what might be the error please
@midoismael9571
@midoismael9571 6 ай бұрын
up
@midoismael9571
@midoismael9571 6 ай бұрын
up
@CodingwithT
@CodingwithT 6 ай бұрын
Make sure the precious bucket is removed and debug to see if there is a new user and also the new bucket is being created.
@midoismael9571
@midoismael9571 6 ай бұрын
​​@@CodingwithT i just do not know when to remove the bucket i tried calling removeData or removeAllData functions but they remove everthing with no return so when i come back to that user nothing if found and thanks bro for answering❤
@musenyangoma6396
@musenyangoma6396 6 ай бұрын
@@midoismael9571 try deleting the favorite controller in your sign out method then re-initializing it when a new user logs in inside the createUserWithEmailAndPassword() and the signInUserWithEmailAndPassword() methods in your Auth Repository or however you have structured your code.
@ukashaanwar9451
@ukashaanwar9451 5 ай бұрын
when i remove all the product from wishlist there is an error 'package:cloud_firestore/src/query.dart': Failed assertion: line 754 pos 11: '(value as Iterable).isNotEmpty': 'in' filters require a non-empty [Iterable].
@CodingwithT
@CodingwithT 5 ай бұрын
You just need to add a check if data exists then loop the available data
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 115 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 27 МЛН
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 10 МЛН
Flutter Fetch Data from Firebase | Fetch and Display Products on Grid
38:34
Account Settings Screen UI Design | Flutter Speed Code
17:31
Uranus Code
Рет қаралды 11 М.
Flutter Storage, Hive, ObjectBox, Isar 👨🏽‍💻 The Flutter Pod
6:53
Favorite Product Screen in Flutter | Flutter eCommerce App
10:44
Coding With T
Рет қаралды 9 М.
How to Setup Firebase in Flutter | Firebase CLI | Flutter Firebase
19:36
Flutter eCommerce App with Firebase in 2024 | eCommerce app Flutter
12:06
Flutter Web Development Course - Flutter Web eCommerce Admin Panel
20:33
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 115 МЛН