This man teaches flutter like no one else. I am finishing the amazon clone and OMG I feel much more confident about freelancing with flutter. Also, did you heard about AppWrite? I think is a nice tool for freelancing because the client can manage the DB with a nice interface, and this DB can be used as a backend to fetch the Flutter app as Rest API, and the appwrite have an SDK Dart, so you don't need to learn other languages to link those tools. I think this tool will be a huge success in the future.
I'm so glad Amazon Clone helped you! This made my day! Yep, I've heard and used Appwrite, have planned to bring Appwrite tutorials really soon! Some others in the list are using Supabase, Node, Surreal. Been a while this channel got something new!
appwrite real time still needs some work with real world intermittent connection blackout and no way near firestore's level that has push notification. should your app needs push notification and realtime notification you'd be disappointed with it. I hope they bring it to firestore level and that would be really great, hopefully still free to use by then though LOL...
I am too moved to comment. You are a god of guidance. I thought it was really great that you carefully explained almost everything in the code that the viewer would have questions about. Especially, it was really easy to understand why you made the CommunityModel in the controller instead of the Repository with the difference from the authRepository. this is about the fourth time I've watched the clone video, and every time you put out a video, you explain and The level of the code is getting better and I respect it. Keep up the good work and I'm looking forward to seeing more of your videos. From Japan.
Thank you so much again for this great tutorial! Please, if you find time, make a tutorial about Firestore rules! Its so complicated from the documentation.
what a very educated flutter developer are you man. you are really good at it. thanks for this lesson. greetings from Turkey flutter developers community.
Thank you Rivaan for another flutter Clone video.. Please Consider using Node JS more because firebase gets expensive really fast.. Continue working hard and thank you again
And i’m all done! Thank you Rivaan, this was very inspirational and educational, I copied your concepts and thoughts on how to do certain things for my own project and now it works perfectly! I think im all set with Flutter & Firebase apps now, I’m gonna invest more time on learning backend stuff especially NodeJs so hopefully we get more videos on it from you in the future :)
Your Whatsapp clone has helped me a lot, and I finished and put it on my resume. Now that clone is going to be replaced by a reddit clone . There are no words to express my appreciation for your efforts.
This guide was awesome thanks a lot. These are the errors I fixed after completely following this guide. 1. Communities not updating with the new user 2. Change moderator screen not ticking all moderators. 3. Comments screen not showing correctly on large posts. 4. Awarding user's own post adds karma. 5. Awarding user's own post sometimes the award gets lost.
i am getting error of 'type List< dynamic> is not a subtype of list string in type cast around 1:09:33 please help and this is showing up in android screen mobile phone
Great tutorial! I've completed it successfully and I'm genuinely impressed. Please consider making more clone app tutorials. Your expertise is highly valuable. Thanks for sharing!
4:00:00 Sir, you can use CachedNetworkImage because if banner size is 2 or more MB and it will take some time to load as well as consume more data again and again . So as CachedNetworkImage provide these with image, Loader, error all options. Sir you can also use extract widget in nested conditions... Like bnanner Widget 😅 Also you didn't use timeout because if network 📡 is weak then the calls will be in processing I think so you can use timeout as well 👍
🎯💯 Didn't implement the timeout function as I wanted to keep this tutorial focused on the visible features of the app along with database structuring and riverpod but you're right! Should be implemented
I love you Rivaan Ranawat. Much love from Nigeria I've completed all your courses so far. Good to have you as a teacher My hopes you build a portfolio website next
To add: if you have a problem extracting your SHA1 and SHA256 keys in Windows, i'll assume you have Bash installed, if not install it, then open the android folder of your project from the bash terminal and than run the same command like in mac/Linux ./gradlew signingReport
I think there's an issue in the UserModel. Please check if your usermodel matches here - github.com/RivaanRanawat/flutter-reddit-clone/blob/master/lib/models/user_model.dart
Hi Rivaan, this is definitely a great project. I've been playing with your authentication setup, it's definitely better than what I've been using. I did find a problem with startup state mismatch on current firebase package versions, so added a pull request to fix.
This is such a wonderfull tutorial! One of the best I have found on RUclips (are a lot)! Everything is great, the vide quuality, the explanations, the code quality... etc. Thanks Rivan I have learned to much with you! 😊😊 . How can we help you, do you have Patreon or something like that?
@@RivaanRanawat Try to build Whatsapp clone with nodejs backend with audio and video call feature with flutter webrtc package . There is no such tutorial about this topic. Thanks in advance 🥰
I'm halfway through this tutorial and noticed the amount of Firebase Reads is soo much. I reached the daily limit within 1 hour of working on the project without even doing anything. Just leaving the app on does 1k reads per 2 minutes. Is there any way around that? THANK YOU SO MUCH FOR THE GREAT TUTORIALS RIVAAN!
For people that run into the same thing, I think I was getting high amount of reads because I had the firebase console open, still monitoring and will update if I find otherwise.
Yeah, this was an issue. Fixed it in the source code. Basically in the main.dart file, you need to remove setState (getUserData function). This causes multiple reads as we are constantly rebuilding the build function by calling setState. And the build function is basically calling getUserData function again. Kind of recursion this do many reads.
Thank you very much for making this. I have a question. I’m able to create community but no other user can see anything in the feed. I don’t know how to fix this
I am experiencing this error, can you help me? I adjusted it similar to your previous UserModel Unhandled Exception: type 'Null' is not a subtype of type 'Map' in type cast
Well done Rivaan, love you tutorials! You didnt say at the beginnen that you would provide us with the extensions you use in VS code. Did I miss the part where you did provide us?
Thanks Julian! Oh, did I not? My bad! Here are some VS Code Extensions that might help you: > Dart Data Class Generator > Flutter Riverpod Snippets > Error Lens > Awesome Flutter Snippets
Hi, I had to switch to realtime database because firestore database was resource intensive, the getData() function in main.dart does a lot of queries in a short time. I have something wrong or is that normal? Great Job
Hey Rivaan great work btw , can you make a dedicated video on rules and firebase to make production ready apps for small developers , it will be very helpful
@@RivaanRanawat And I also encountered an error at 2:14:23 with the if(userModel !=null) statement not working. This was because the userProvider was updated above. So I fixed it by changing it to ref.read(userProvider) != null and now it works, hehe
Hi! Thanks for this wonderful tutorial... but I've got a problem while following the tutorial, especially in main.dart file, following your video i can see that you added setState({}) in getData() which triggers infinite loop in build method and when I downloaded your source code, the setState({}) was no longer there. But if i remove the setState, the build method is not being called again and hence can't directly direct to the home_screen...
Hey Rivaan, At 07:45:42 when I'm trying to show the all posts of a community after clicking on community avatar, it is not showing anything. The body is just blank and not giving any error.
Instagram Clone assumes you have no knowledge of Firebase, only Flutter & Dart Basics. After you understand that, you can follow along with any course on the channel!
master, at 2:11:06, you say that we did not save the data to the provider, but we updated our userProvider with signInWithGoogle in the controller, can you explain that part?
True. We updated it in signInWithGoogle function. But when does that signInWithGoogle function run? Only when the google button is clicked on login screen. So user provider will also store the user data when the google button is clicked, right? But when we persist the state of our app (keeping the logged in users logged in), do we have the option to click google button? Do we even call signInWithGoogle function? Nope. So what will happen if I just restart my app? The state will be persisted. Yes, I will come to the Home Screen. There I am using user provider to display user data like user name, user email. But our provider is empty because the app restarted. When app restarts, all the data in provider is lost. So we need to refill it. So, we can't just use userProvider in signInWithGoogle. We also need it when the app restarts.
please am having this error when trying to get the banner and the avatar help man Image provider: NetworkImage("", scale: 1.0) Image key: NetworkImage("", scale: 1.0)
I wanted to keep Instagram Clone as simple as possible. Main intention was to get the views familiar with Firebase. Didn't want to add architecture logic and make it too difficult to digest video.
Hi Rivaan, I watched until 2:16:00 but it doesn't switch to homescreen. I tried to do it myself, I examined the code one by one, there was no difference, but I still couldn't do it. I guess it doesn't receive the data because it keeps sending it to login_screen.
Friends, I solved the problem. When creating the UserModel class automatically, the provider gives the award type differently than before. Therefore, you can solve this problem by manually changing the type of awards.
@@tolgayeni4427 hello, where exactly u put this? on main dart? becfause my problem is when they logged in to google, it keep coming back to login screen
Please help me i got an error " flutter: PlatformException(missing-config, GoogleService-Info.plist file not found and clientId was not provided programmatically., null, null) "
What is the architectural design in this project, can you briefly explain the name of it? I need to explain to my teacher the application that I developed with this architecture.
Hello and thank you very much for your work. I followed your tutorial carefully but I have a little problem. When I create other communities, they do appear in the drawer, but as soon as I click on the second then the third, etc... I get this error message instead of the community page " type 'Null is not a subtype of type 'Map' in type cast". I would like to know where this error comes from and how to fix it. Thank you for your reply. I specify that I have carefully copied and checked your code, to be sure that I have made no typing errors.
Thank you!! It's worked without any bugs in November 7. I have played this youtube more than 10 times before I have finished, but I pressed the Good button once😅 I want to create a calendar app that stores data locally (for offline, android). How to...?
5:47:36 Toggle Theme Sir, You can also do by this method : give to material.router... Theme, DarkTheme and ThemeMode by default it takes ThemeMode.system And for save in share pref you can use boolean for this instead using string that will be good option
I am currently following your reddit tutorial and i am just stuck at this error Exception: type 'Null' is not a subtype of type 'Map' kindly help this is the user model class
Sir, I completed this project but, StreamProvider kept fetching... and fetching... and fetching. It was only a couple minutes later and I was up to 80 thousand reads on the firebase console. Please solve this
Heavyyyyyy project .. 🔥🔥 Bro need your help.. I want to make a learning website (language learning) and want to make it fully dynamic such that I will enter / insert all the data through some CMS. I will make all the screens (complete layout and all content fields) and will add the data via CMS ( similar to adding products from admin panel to a e-commerce website). I had looked some headless CMS and Is it possible to make such app in flutter with strapi as CMS. If yes then please can you guide the roadmap of how it will be done.. Thanks and regards 💫
Of course, you can. Go through some articles or check out Strapi Documentation for Flutter (if there is one, not sure). Connect the application to Strapi and perform read operations. Just think what you need to do in your app, for example, if you want to get some data from the CMS and display it on the screen, search how to read from Strapi CMS using Flutter. You'll get your answers :)
Thanks Festus! Yep, you can create an app with Flutter similar to Canva. I've made a simple tutorial about it on the channel - Build your own Image Editor with Flutter, where it goes through the basics of creating image editor from scratch (without any plugin)
If I ever manage to get a job as a flutter developer , this man deserves 90% of my salary . Can't thank you enough bro
Hahaha, thank you so much🙂
did you get it?
@@bubbleflutter i did but i am not giving my money to rivaan🤪
@@bubbleflutter follow rivan courses believe me you will learn a lot of things
@@reactnativedeveloper1682 I’m good enough to get a job, but I’ll try making my own software as saas maybe
As soon as I get my first job.
I am buying your membership.
This is phenomenal
Thanks
Thank you so much Varun🙂 Appreciate it!
You are crazy! I can image you going to an interview to work at Reddit, and they ask "what's your experience". And you tell them "I've built your app"
Hahahaha, amazing to think that way! Thanks for the support btw 💪
Can't thank you enough for it!
😂😂😂😂 He is a genius
hahah for reals😂
true! :D Great developer
@@RivaanRanawat amazing i have seen your videos osm 😍
This man teaches flutter like no one else. I am finishing the amazon clone and OMG I feel much more confident about freelancing with flutter.
Also, did you heard about AppWrite? I think is a nice tool for freelancing because the client can manage the DB with a nice interface, and this DB can be used as a backend to fetch the Flutter app as Rest API, and the appwrite have an SDK Dart, so you don't need to learn other languages to link those tools. I think this tool will be a huge success in the future.
I'm so glad Amazon Clone helped you! This made my day!
Yep, I've heard and used Appwrite, have planned to bring Appwrite tutorials really soon! Some others in the list are using Supabase, Node, Surreal. Been a while this channel got something new!
appwrite real time still needs some work with real world intermittent connection blackout and no way near firestore's level that has push notification. should your app needs push notification and realtime notification you'd be disappointed with it. I hope they bring it to firestore level and that would be really great, hopefully still free to use by then though LOL...
I am too moved to comment. You are a god of guidance. I thought it was really great that you carefully explained almost everything in the code that the viewer would have questions about. Especially, it was really easy to understand why you made the CommunityModel in the controller instead of the Repository with the difference from the authRepository. this is about the fourth time I've watched the clone video, and every time you put out a video, you explain and The level of the code is getting better and I respect it. Keep up the good work and I'm looking forward to seeing more of your videos. From Japan.
Thank you so much again for this great tutorial! Please, if you find time, make a tutorial about Firestore rules! Its so complicated from the documentation.
Will do! Thanks for the tip too🙂
20 Hours Dart & Flutter Full Course - ruclips.net/video/CzRQ9mnmh44/видео.html
10+ Flutter Projects for Free: ruclips.net/p/PLlzmAWV2yTgCjoZNF3hLX3puYJir9vSQO
Discord Server: discord.gg/Q8Rx8YWFVF
I truly value your tutorial videos. Thank you so much again!
Thanks a lot James🙂
what a very educated flutter developer are you man. you are really good at it. thanks for this lesson. greetings from Turkey flutter developers community.
Kaan, merhaba bu reddit app'i tamamladın mı? doğrusu flutter'da yeni sayılırım bu app'i gelişimim için tavsiye eder misin?
@@emirhanbalc2038 merhaba. Kesinlikle tavsiye ederim. Flutter alanında iş bulacak düzeye getiriyor bu video :)
Thank you Rivaan for another flutter Clone video.. Please Consider using Node JS more because firebase gets expensive really fast.. Continue working hard and thank you again
Yep, will do! We've covered a lot of builds with Firebase
Time to learn some new technologies!
@@RivaanRanawat plzzzz make clone app using nodejs..
Rivaan never disappoints, you're an icon G.
Thank you so much John🔥
@@RivaanRanawat Welcome 🤝
And i’m all done! Thank you Rivaan, this was very inspirational and educational, I copied your concepts and thoughts on how to do certain things for my own project and now it works perfectly!
I think im all set with Flutter & Firebase apps now, I’m gonna invest more time on learning backend stuff especially NodeJs so hopefully we get more videos on it from you in the future :)
Would be helpful if you share the Github Repo Link
Awesome Matt! Saw this comment a while ago but forgot to reply😅
Keep us updated on what you build next, would love to see more of it
you are so genius that i have learned flutter before but i hope i could learn flutter again from you ❤💕
Thanks a ton man! I'll put out some Beginner content on different tech stacks this year, I hope that will help
Your Whatsapp clone has helped me a lot, and I finished and put it on my resume. Now that clone is going to be replaced by a reddit clone . There are no words to express my appreciation for your efforts.
Thank you so much Kranthi, glad it helps you!
Hey kranthi , i m in my 3rd year and i dont have projects. Which one should i start with
super excited to complete this tut🤩❤️🔥
Thanks Rivaan
Hope you learn something from this!
You are doing a great work.
Thank you Areeba!
This guide was awesome thanks a lot. These are the errors I fixed after completely following this guide.
1. Communities not updating with the new user
2. Change moderator screen not ticking all moderators.
3. Comments screen not showing correctly on large posts.
4. Awarding user's own post adds karma.
5. Awarding user's own post sometimes the award gets lost.
Awesome!! If you have your code hosted on GitHub, do send it over! Hopefully it will help someone ;)
would You mind sharing you github link?
i am getting error of
'type List< dynamic> is not a subtype of list string in type cast
around 1:09:33
please help and this is showing up in android screen mobile phone
Great tutorial! I've completed it successfully and I'm genuinely impressed. Please consider making more clone app tutorials. Your expertise is highly valuable. Thanks for sharing!
hey can you help me i am getting this error'Null' is not a subtype of type 'Map'
@@user-zn3be9ik1x you can add ?? '' to set empty string if null
Thanks man
We already got like 13 project videos on the channel. You might want to check them out 👀
4:00:00
Sir, you can use CachedNetworkImage because if banner size is 2 or more MB and it will take some time to load as well as consume more data again and again . So as CachedNetworkImage provide these with image, Loader, error all options.
Sir you can also use extract widget in nested conditions... Like bnanner Widget 😅
Also you didn't use timeout because if network 📡 is weak then the calls will be in processing I think so you can use timeout as well 👍
🎯💯
Didn't implement the timeout function as I wanted to keep this tutorial focused on the visible features of the app along with database structuring and riverpod but you're right! Should be implemented
Thank you so much Rivaan Sir for your time and efforts. I like the way you explain all the steps
I love you Rivaan Ranawat.
Much love from Nigeria I've completed all your courses so far. Good to have you as a teacher
My hopes you build a portfolio website next
Thanks a lot, Richard! Portfolio isn't the next, but expect it to be on the channel before the year ends!
Thanks man, you're killing it
Thanks, Arman!
Thanks, Arman!
Again Best tutorial and only one in youtube. Keep going... 👍
Thanks a ton!
i so much love your video tutorials .. you make it so easy and very much enjoyable
@00:26:15 FOr Windows run CMD or PowerShell as administrator, it's same as sudo command.
To add: if you have a problem extracting your SHA1 and SHA256 keys in Windows, i'll assume you have Bash installed, if not install it, then open the android folder of your project from the bash terminal and than run the same command like in mac/Linux ./gradlew signingReport
Thanks for helping the community Dushan!
Riverpod and GoRoute OMG ! Thank you Rivaan
Love Riverpod!
You're underrated bro, Great job
Thanks a lot!
Someone get this man a trophy 🏆
Hahaha, thank you!
thanks a lot for all your hard work to the community,
Hope we can get some more content on nodejs.
Most Welcome! Have some project videos with Nodejs already 😉
The fact this is free blows my mind.
Bro, thanks again! Your style to push info in mine head is the best! On the 5th of hour I have really understood what the hell riverpod is!! 😜
I appreciate that! Will try to do it sooner next time onwards🤣Wait for the Riverpod 2.0 Tutorial where everything will get even clearer!
@@RivaanRanawat Great!
Hello Rivaan, I get "type List is not a subtype of List in typecast" on the Snackbar on the Efficient Exception Handling Technique Part at 1:23:00
Not i got Null instead of list
I think there's an issue in the UserModel. Please check if your usermodel matches here - github.com/RivaanRanawat/flutter-reddit-clone/blob/master/lib/models/user_model.dart
Hi Rivaan, this is definitely a great project. I've been playing with your authentication setup, it's definitely better than what I've been using. I did find a problem with startup state mismatch on current firebase package versions, so added a pull request to fix.
Will look into it, thanks!
Man you are my inspiration, i wish i could met yoi personally
Flutter God!!! You dropped this 👐👑
Thank you so much Khánh🙂🙏
Hi Rivaan,
Can I extend the messaging functionality with this app?
You are the best.. Thanks for the good content I'm happy to watch it😍
Thank you so much!
Amazing, you are one of the best in this.
Thanks Eduardo!
Wonderful project, thank you a lot. Keep going on
Thanks!
This is such a wonderfull tutorial! One of the best I have found on RUclips (are a lot)! Everything is great, the vide quuality, the explanations, the code quality... etc. Thanks Rivan I have learned to much with you! 😊😊 . How can we help you, do you have Patreon or something like that?
You are more than Awesome bro 😍 Love your content😍
Thanks a ton Salman!
@@RivaanRanawat you're welcome Brother ❤
one of the best video... waiting with API project with riverpod
Check out Google Docs Clone video! Uses Node so we create our own API and use it with Riverpod.
Wow well done ! Seems really complete ! Hope that you will do a Tinder Clone for the next one !
Thank you! I'm working on some other project, not Tinder but I plan to bring out soon.
Sir that is outstanding, next project build about rest API - which we can update,get,post, delete
Noted! What backend do you want me to use?
@@RivaanRanawat Amazon aws
@@RivaanRanawat appwrite
It will be a awesome project if you use custom web backend (RestApi) ...
For sure! Will try to bring in new databases and technologies in the next builds!
@@RivaanRanawat Try to build Whatsapp clone with nodejs backend with audio and video call feature with flutter webrtc package . There is no such tutorial about this topic. Thanks in advance 🥰
as a flutter team member i must say you're doing a great job. i challenge you to build a WhatsApp clone
There you go - ruclips.net/video/yqwfP2vXWJQ/видео.html
Cool!! Next video should be a Clean Architecture Course!!
Not the next one, but it's coming really soon!
I'm halfway through this tutorial and noticed the amount of Firebase Reads is soo much. I reached the daily limit within 1 hour of working on the project without even doing anything. Just leaving the app on does 1k reads per 2 minutes. Is there any way around that? THANK YOU SO MUCH FOR THE GREAT TUTORIALS RIVAAN!
For people that run into the same thing, I think I was getting high amount of reads because I had the firebase console open, still monitoring and will update if I find otherwise.
Yes I am facing sam eissue
Yeah, this was an issue. Fixed it in the source code. Basically in the main.dart file, you need to remove setState (getUserData function). This causes multiple reads as we are constantly rebuilding the build function by calling setState. And the build function is basically calling getUserData function again. Kind of recursion this do many reads.
@@RivaanRanawat when I removed the setState({}) the user doesn't get logged in
Thank you very much for making this. I have a question. I’m able to create community but no other user can see anything in the feed. I don’t know how to fix this
Thank you very much, really enjoyed and learned from the video 🎉
So happy to hear that Steven!
I am experiencing this error, can you help me? I adjusted it similar to your previous UserModel Unhandled Exception: type 'Null' is not a subtype of type 'Map' in type cast
same here any progress?
Always amazing 🎉
Thanks Fahad!
Well done Rivaan, love you tutorials!
You didnt say at the beginnen that you would provide us with the extensions you use in VS code. Did I miss the part where you did provide us?
Thanks Julian! Oh, did I not? My bad!
Here are some VS Code Extensions that might help you:
> Dart Data Class Generator
> Flutter Riverpod Snippets
> Error Lens
> Awesome Flutter Snippets
@@RivaanRanawat Great, thanks for the reply. What projects are you currently working on for your tutorials?
Hi rivaan can u just tell me which state management shoulf i prefer for startup company app it like udemy
just finished, thank you!
Thanks for Riverpod state management bro 💗
I love it!
thanks you so much
Hi, I had to switch to realtime database because firestore database was resource intensive, the getData() function in main.dart does a lot of queries in a short time. I have something wrong or is that normal? Great Job
Your content is helpful boss. Thank you.
Glad you think so!
Hey Rivaan great work btw , can you make a dedicated video on rules and firebase to make production ready apps for small developers , it will be very helpful
Absolutely, will do
wow Rivaan, this playlist is useful
What's next in the playlist?
Project with Dart Frog (Dart for Backend)
hey, help plz. i have error in time 02:15:34
_CastError (type 'Null' is not a subtype of type 'Map' in type cast)
me too
Match your UserModel class fromMap method with Rivaan's you will see the diffrence, this bug is due to dataclass Package.
Let me know if Gautam's suggestion works
@@RivaanRanawat "In fact, it wasn't working, but then I used the freezed UserModel.fromJson and it worked."
@@RivaanRanawat And I also encountered an error at 2:14:23 with the if(userModel !=null) statement not working. This was because the userProvider was updated above. So I fixed it by changing it to ref.read(userProvider) != null and now it works, hehe
Great work man 💯
Thanks 🔥
Wow!! Thats a great video 😍
Thank you!
Hi! Thanks for this wonderful tutorial... but I've got a problem while following the tutorial, especially in main.dart file, following your video i can see that you added setState({}) in getData() which triggers infinite loop in build method and when I downloaded your source code, the setState({}) was no longer there. But if i remove the setState, the build method is not being called again and hence can't directly direct to the home_screen...
Hii, I cannot get my logoPath to the center. Is there any fix to it?
Hey Rivaan,
At 07:45:42 when I'm trying to show the all posts of a community after clicking on community avatar, it is not showing anything. The body is just blank and not giving any error.
Can you share your getCommunityPosts repository code?
Thankyou very much bhaiya for this nice tutorial
Most Welcome!
You can never disappoint us!!
Thank you so much Sunil!
i didn't watch the video yet but thanks for your great efforts❤
Thanks abdelrahman!
Please make a course dedicated to explaining firebase in details
Your a very good teacher
Thank you!
Just a question, since I'm completely new to Flutter which video of yours would you recommend me to start from, considering the basics etc.?
Instagram Clone assumes you have no knowledge of Firebase, only Flutter & Dart Basics. After you understand that, you can follow along with any course on the channel!
master, at 2:11:06, you say that we did not save the data to the provider, but we updated our userProvider with signInWithGoogle in the controller, can you explain that part?
True. We updated it in signInWithGoogle function. But when does that signInWithGoogle function run? Only when the google button is clicked on login screen. So user provider will also store the user data when the google button is clicked, right? But when we persist the state of our app (keeping the logged in users logged in), do we have the option to click google button? Do we even call signInWithGoogle function? Nope. So what will happen if I just restart my app? The state will be persisted. Yes, I will come to the Home Screen. There I am using user provider to display user data like user name, user email. But our provider is empty because the app restarted. When app restarts, all the data in provider is lost. So we need to refill it. So, we can't just use userProvider in signInWithGoogle. We also need it when the app restarts.
1:03:52, self reference.
Thanks à lot , that was wonderful 😊
Can you make with clean architecture next time ?
Thanks again
Great suggestion!
Hey man, crazy video. It's amazing how you are able to keep making videos of this quality, keep it up!
Thanks a ton Varun!
16:45 Fontweight ... You can give these my headline5 something like that 😊
Ah, right! Thanks!
please am having this error when trying to get the banner and the avatar
help man
Image provider: NetworkImage("", scale: 1.0)
Image key: NetworkImage("", scale: 1.0)
Awesome! I was just wondering: is there any reason why you hadn't implement the controllers in your Instagram clone?
I wanted to keep Instagram Clone as simple as possible. Main intention was to get the views familiar with Firebase. Didn't want to add architecture logic and make it too difficult to digest video.
@@RivaanRanawat Understood, thank you !
Continue your amazing work
Hi Rivaan, I watched until 2:16:00 but it doesn't switch to homescreen. I tried to do it myself, I examined the code one by one, there was no difference, but I still couldn't do it. I guess it doesn't receive the data because it keeps sending it to login_screen.
if(userModel!=null){
return loggedInRoute;
}
sees exactly this place as null
Friends, I solved the problem. When creating the UserModel class automatically, the provider gives the award type differently than before. Therefore, you can solve this problem by manually changing the type of awards.
@@tolgayeni4427 hello, where exactly u put this? on main dart? becfause my problem is when they logged in to google, it keep coming back to login screen
That’s amazing! Can you also make an Amino: Communities Fandom clone tutorial as well using flutter?
6:43:42 if the community list will reach more then 10 the this will throw exception
Yes, that's a Firebase Limitation. You can check here for more info - cloud.google.com/firestore/docs/query-data/queries#limitations_2
Please help me i got an error
" flutter: PlatformException(missing-config, GoogleService-Info.plist file not found and clientId was not provided programmatically., null, null) "
It seems GoogleService-Info.plist file is not present in the Runner subfolder. Please check on that.
What is the architectural design in this project, can you briefly explain the name of it? I need to explain to my teacher the application that I developed with this architecture.
It's like MVC but not as strict as MVC. Follows a similar thought process however there are some differences.
Hello and thank you very much for your work. I followed your tutorial carefully but I have a little problem. When I create other communities, they do appear in the drawer, but as soon as I click on the second then the third, etc... I get this error message instead of the community page " type 'Null is not a subtype of type 'Map' in type cast". I would like to know where this error comes from and how to fix it. Thank you for your reply. I specify that I have carefully copied and checked your code, to be sure that I have made no typing errors.
When you generate data class in modal. In fromMap function you have to remove map from members field
@@abdulhamidkhorajiya2256 Thank you very much it worked have a nice day
@@abdulhamidkhorajiya2256 hello im wondering how to remove map from members field? perhaps im not writing it correctly :
factory Community.fromMap(Map map) {
return Community(
id: map['id'] ?? '',
name: map['name'] ?? '',
banner: map['banner'] ?? '',
avatar: map['avatar'] ?? '',
members: List.from(map['members']),
mods: List.from(map['mods']),
);
}
Thank you!! It's worked without any bugs in November 7.
I have played this youtube more than 10 times before I have finished, but I pressed the Good button once😅
I want to create a calendar app that stores data locally (for offline, android). How to...?
Hey plz one video one how to get other app api or how to patnership with them ?
5:47:36 Toggle Theme
Sir,
You can also do by this method :
give to material.router... Theme, DarkTheme and ThemeMode by default it takes ThemeMode.system
And for save in share pref you can use boolean for this instead using string that will be good option
I am currently following your reddit tutorial and i am just stuck at this error Exception:
type 'Null' is not a subtype of type 'Map' kindly help
this is the user model class
@rivaan please help. I'm stuck here too
at 1:38:00 type null is not a subtype of map error is comming
Can you please send the entire terminal output?
Thank you very much for such a great content and Kindly make a video on nft marketplace with flutter
Noted!
whats your favourtie state management?
Riverpod
Hi rivaan what architecture you use in your projects, Is it clean architecture, mvvm or mvc
It's like MVC but not as strict rules as MVC. Follows the same thought process of distinction between different layers
Sir, I completed this project but, StreamProvider kept fetching... and fetching... and fetching. It was only a couple minutes later and I was up to 80 thousand reads on the firebase console. Please solve this
Looking forward to bloc brother!
Will be used in a build!
Heavyyyyyy project .. 🔥🔥
Bro need your help..
I want to make a learning website (language learning) and want to make it fully dynamic such that I will enter / insert all the data through some CMS. I will make all the screens (complete layout and all content fields) and will add the data via CMS ( similar to adding products from admin panel to a e-commerce website).
I had looked some headless CMS and
Is it possible to make such app in flutter with strapi as CMS. If yes then please can you guide the roadmap of how it will be done..
Thanks and regards
💫
Of course, you can. Go through some articles or check out Strapi Documentation for Flutter (if there is one, not sure). Connect the application to Strapi and perform read operations. Just think what you need to do in your app, for example, if you want to get some data from the CMS and display it on the screen, search how to read from Strapi CMS using Flutter. You'll get your answers :)
@@RivaanRanawat thanks 🙏 bro
Yup it's available for flutter
Man this is massive!! Thanks for all you do. Much appreciated. is there a way to create a design app like Canva with flutter and dart?
Thanks Festus! Yep, you can create an app with Flutter similar to Canva. I've made a simple tutorial about it on the channel - Build your own Image Editor with Flutter, where it goes through the basics of creating image editor from scratch (without any plugin)
@@RivaanRanawat Thanks, I will check it out.
i got a question... what extension do you use that showed all the error when something is missing. Im Curious. Thanks🤩🤩
Error Lens
Have you handled auth with email and password with the same kind of architecture