Im new in bloc pattern and i have scattered the internet to learn it, but this is by far the most understandable, complete and easy tutorial for bloc, unlike other tutorials that always use that counter app... smh
Ty for sharing . A pair of question please...1) I see u calling LoadUserEvent in build method so every time the app rebuilds it will load all the data ? not inefficient? Explain please. 2) What about global variables ? If u calling BlocProvider inside the ui, u can't get global variable for the whole app ?. Imagine a login screen used to get a global user for the whole app then bloc provider should be on main screen ? . Again thank you for sharing.
thank you very much with amazing tutorial. Want to ask about RepositoryProvider why we would need this DI when we can just directly inject provider to the blocprovider? something like UserBloc(UserRepository) rather than UserBloc(RepositoryProvider...)? This is the first time I see RepoProvider and genuinely curious what kind of case I need this method. Thank you once again for the tutorial
did dbestech used the archeticture using logic of repositories MultiRepositoryProvider in top of material Widget and deep dive in it , even if it is in udemy , wish you answer me , thank you
Thankyou sir. But, I have a question. How to update automatically that list data when we post new data in another page and navigator.pop to this list data screen?
I want to locally store a list of map on device storage (which contains String and boolian) but shared preference is throwing a runtime error. Bool can't be assigned to String
@@dbestech shared preference also saves list of string but my list has bool too. Actually I'm building task manager app. Any alternative of shared preference?
Sir when new keyword creates an object and then the constructor is called to Intialize the object. Right after that a reference to that object is returned by dart and then we can store that object in a separate reference variable like: new User() ; after the execution of new User(), dart returns a value of type User which is the reference to the created object in heap memory. Am I right?
Im new in bloc pattern and i have scattered the internet to learn it, but this is by far the most understandable, complete and easy tutorial for bloc, unlike other tutorials that always use that counter app... smh
You are most welcome
I mean how a newbie like me knows how to store data, return data and fetch from api in bloc when they do is to only teach incrementing int value
this is the easiest flutter bloc tutorial to understand I have ever found in the entire youtube! thanks for thisss
You're very welcome!
I think this is the best explanation I found on UA-cam about Bloc, Jaazakumullohu xoyron kasiron.
You are my hero. That explanation about the RepositoryProvider made me realize what was the problem I was dragging for almost 4 weeks. THANK YOU!
You are most welcome
coming from getx this has been the best bloc tutorial i have found, thank you sir!
Glad it helped!
Best tutorial so far for the Bloc pattern. Extremely helpful. It’s easy to understand for beginners. 👍 Thank you so much!
Glad it was helpful!
Best tutorial ever to learn the BLoC Pattern, seriously good!
Glad it was helpful!
you're right
this is by far the best tutorial about flutter bloc, thanks a lot
Assalomu alaykum . this guide is very useful i am learning flutter now it helped me a lot. good luck with your work. great content
Ohh man. Its the simplest tutorial. Thank you so much!!!😃
Glad it helped!
Great tutorial, i'm still trying to figure out how to properly use blocs and this helped.
Thanks you sir!
best tutorial on bloc 👍👍
Sir i find Bloc very beautiful...
thank u for this great concept!
You are most welcome. Yes coming more. Now I love Getx and BLoC. They are great. what's your most favorite now?
@@dbestech Getx is my favorite now. I love the route management feature
im new to bloc..and this is very clear..plz upload this kind of videoes
Yes, will come more
Good tutorial, now I understand flutter_bloc, thank you.
most welcome
Great explanation, Loved the content🤩
U are the best teacher thank u so much Sir.
So nice of you
Ty for sharing . A pair of question please...1) I see u calling LoadUserEvent in build method so every time the app rebuilds it will load all the data ? not inefficient? Explain please.
2) What about global variables ? If u calling BlocProvider inside the ui, u can't get global variable for the whole app ?. Imagine a login screen used to get a global user for the whole app then bloc provider should be on main screen ? .
Again thank you for sharing.
Bro that's cool, now I understand everything, thank you)))
Glad to hear that!
thanks master , its really useful lessons please just keep going ;;
Thank you, I will
Excellent 🤩🤩
Thank you! Cheers!
thank you very much with amazing tutorial. Want to ask about RepositoryProvider why we would need this DI when we can just directly inject provider to the blocprovider? something like UserBloc(UserRepository) rather than UserBloc(RepositoryProvider...)? This is the first time I see RepoProvider and genuinely curious what kind of case I need this method. Thank you once again for the tutorial
thank you sir i will be honored if we meet someday to thank you in person
Salam bro, you are the best
You are the best
Can we inject multiple states for builder ?
@@deedev7279 I guess no. Only one state at one time. But you can do list of state classes
@@dbestech can you suggest example code or article ?
did dbestech used the archeticture using logic of repositories
MultiRepositoryProvider in top of material Widget and deep dive in it , even if it is in udemy , wish you answer me , thank you
I did not use RepositoryProvider in Udemy either. There are other ways to do things.
good video i subscribed 👍😉
Thanks for the sub!
It's useful my learning
Glad to hear that
Thanks a lot, well explained.
You are welcome!
Muchas gracias me salvaste la vida
You are welcome. like and share
Huge thanks! Cool!
No problem!
There is a typo in your thumbnail, should be "Http Request". Thanks for the video and looking for the next one.
Oh thanks!
Thankyou sir. But, I have a question. How to update automatically that list data when we post new data in another page and navigator.pop to this list data screen?
Nice Explanation. Can you please add post, put and delete methods as well for Bloc.?
I will cover soon
Is this the video you mentioned in community section?
no
It covers the basic
Thanks 😊
Please make a step by step video on expansion tile flutter..
Humble request 🙏🙏
I will
nice video bro can u make video on clean architechture + Bloc + TDD(test driven development)
I will try
This will be great
@@dbestech it will be awesome
Check resocoder channel
@@sosoTheLittle thats outdated
Excellent vídeo great, please upload vídeo Google Maps, GPS, ando Location and tracking using flutter bloc? Please
Great suggestion!
Great
hey bro, I have few questions, why it doesn't use bloc listener? and when we using bloc listener? , btw appreciate this video, very helpful
You can.
You use bloc listener when you need to do something not directly related to ui widgets like navigation or snackbars.
Hai, I have a doubt that what is the use of Wrapping with RepositoryProvider?
for network request
Hi, how can I pass the User's data to Details Screen using the "Generated named routes"?
ua-cam.com/video/dl6oUW6H7yo/v-deo.html this should help you
I want to locally store a list of map on device storage (which contains String and boolian) but shared preference is throwing a runtime error. Bool can't be assigned to String
you can save string say "yes" and "no" then you read them back convert them to true or false. Shared preference only supports strings.
@@dbestech shared preference also saves list of string but my list has bool too. Actually I'm building task manager app. Any alternative of shared preference?
@@SajjadHussain-iu6jv how about hive ? Or sqflite
Sir, why you call API in the build, the documentation said it's better call it in initState, CMIIW
that's true. we need to optimize that. But there are many ways to do it.
You can do a tutorial on infinite scroll pagination when using Bloc with Clean Architecture?
I will try thanks
do you have git?
Thanks
Welcome
Sir when new keyword creates an object and then the constructor is called to Intialize the object. Right after that a reference to that object is returned by dart and then we can store that object in a separate reference variable like:
new User() ;
after the execution of new User(), dart returns a value of type User which is the reference to the created object in heap memory. Am I right?
wait pls. I need to answer it carefully
please make a music application with all functionality it would be soo helpful.
Yes, I will
👍👌👌👌👌👌
Thanks
if the data is a message and i want the new message to show up without reloading the screen then how. Thank you
If you have data coming from server you always need reload. The other thing you can do using socket and update. But that's a difficult method
@@dbestech thank you
What if an error state occurs and the user wants to reload the data, for example with the reload button on the error page
you can do it. Just create a new event and state for it. error should be checked with states and then emit new event and reload data
I'm trying to make image api using laravel but I'm facing errors, is there a tutorial for this ? And thanks for this amazing video!
ua-cam.com/video/qHkHcDByb5g/v-deo.html have you tried this?
would you mind sharing the repo of the project please
Here we go learnflutter.co/flutter-bloc-http-get-example-fetch-data-from-server/
Please share tutorial widget test and unit testing
will cover
❤️❤️
Could you give us the source code? It will help us a lot and thank you so much!
Wa alaiku musslam
where can i get the code
There’s link for it in the description
@@dbestech where? I check the description, but I can't see the code for the repo of this tutorial
aslm