Thanks for the excellent tutorial. The examples here have enough complexity to understand the Bloc in more depth. After seeing the basic "counter" app modified to Bloc I understood the very basic concepts but struggled to figure out how I might use Bloc in a larger application. This helps a lot.
Excellent tutorial! I've watched and read a lot of information on Bloc, but this is the first video I've found that actually explains it in a meaningful way. Akshit, thank you for creating this video, you are a great teacher!!
This is the best state-management tutorial so far... was struggling so much with bloc! thanks akshit ! this was helpful and cleared a lot of doubts... keep going!
Hi Akshit, Thanks for your clear explanation. I really appreciate your effort. If possible create a content with your way of clean architecture for flutter projects using BLoC .
Just a thought, wouldn't it be better to handle events and states polymorphically using overriden functions in these classes rather than if and switch statements in the UI? This would help make the UI code more readable by completely eliminating any logic whatsoever.
Bro thanks so much, I am coming from React Native and Dart and Flutter is beautiful, I love the BLoC but it was complex, this video helps alot. Love from Nigeria
Hey thanks a lot man of all your work and explanation around blocs ! Very cool video. I tried to understand bloc architecture for a long time. And with you it is more and more clear !
Thanks a lot for teaching this to me, i have a few questions if you could answer them in a video form or in reply that "how to use bloc when we need to constantly rebuild the app like if I'm making a chat app I'll need to continuously fetch the new messages and update it in ui" and another one is that "if i want to change this wishlist icon's color and the icon also then how to make that small change in ui using bloc". Please help, I'm grateful for what you've taught me till now and will be grateful for in future too. Thankyou very much 😊
Hello akshit great tutorial brother really learned alot, just a question I tried doing the same exact steps with the wishlist and its bloc but i cannot add items from my wishlist page, although my clickedproduct is working fine and When I click on any items in the Home page It is showing the scaffold message of item wishlisted but it is not getting added can you help?Thanks brother
Thank you for teach in easy way,, It would be great if you showed us to show the color and icon according to cartlist or wishlist, also if its already in that list, then remove and change the color instantly on the same screen
gosh thank you so mush brother. im so glad there is people like you. seriously if english was my first language ive could write an article how much im grateful for your tutorials
this material is very well covered, add more broadcasts to your channel. it would be great if you also explained the difference between using bloc and cubit
Thanks bro for such a better explanation the one doubt i have is, when we save the liked items in a list , it will clear when app restarts. So to avoid that in realtime projects, do we send and save the liked list through api. At the same time we save that list in hive database ? Isn't it what we must do...?
Thanks for your great video. In this sample, you created bloc for every pages (home and cart page). Is it best practice even in big project? I'm thinking about separate cart item (in home page) into new widget and create new bloc for it. Please advice which one is better? Thanks again and wait for next videos
Hi Akshit great explanation and video. Thank you for your time and efforts to create such amazing content. Question: when creating states and events for Product wishlist and cart, why did you choose to define them in home bloc instead of their individual bloc's? I mean HomeProductWishlistBtnClickEvent and HomeProductCartBtnClickEvent can this be moved to wishlist bloc and cart bloc respectively? or is there any reason this is not a good idea?
want more on same bloc concepts with some big projects like Instagram/WhatsApp/Zomato using flutter bloc/provider more professional using dependency injections and payment integration as well
Hi akshit, Great tutorial I have learnt a lot, Can we use these coding practices at production level development? if not can you please state the things that could have been improved? Please reply. Thank you.
Hi bro, nice work keep it up, loving and learning from your videos. can you tell me which software your are using for screen resizing so smoothly at 45:28 Thank you
Hi Akshit that was a perfect tutorial and you tought bloc with best approach i could learn the concept behind it very easily by watching this video keep on bro 👊👊and uplaod more video like this
Thank you Akshit. Really love this, i always wanted to taste BloC in such your way. Can you tell me in a sentence or two, what exactly i should do to make the wishlist "Heart" icon red in the first place on home screen?
Bro,I liked the idea of separating the actionable and not actionable states in bloc state class, I want to use the same logic while using freezed package, but I cannot extend the actionnable state class from the normal state class, the error says : the methods generated by freezed ( when, map, maybeMap, maybeWhen ) for the actionable state class are not a valid override for the the normal state class's genreated methods< I wonder if you can help, it would be much appreciated !
Oh Hi, i have a question that: at home screen I click button (UI1) to add item to wishlist and I change the UI of this button (UI2), but when i remove this item from wishlist screen and return back home screen, the UI of this button is still UI2 (it should be UI1), so could you help me with this question? Thank you
bro thanks but why it does not make rebuild the cart or wishlist when i remove the items. i made emit for WishlistSuccessState ? can you help with this problem
To achieve more efficiency how would you make the listTile be dynamic to accept both home and cart bloc? What is the type of data that I need to pass here is it simply a BLoC?
hi Thanks for the video i really wanted to know how to toggle color when a product is added to the list or removed and i think it would be much better if you use try catch blocs in your functions anyway good luck
hello Akshit... Thank you for making this video but I watched so may articles earilers where they are using blockProvider, is it okay to not use blockProvider?
Thanks for the excellent tutorial. The examples here have enough complexity to understand the Bloc in more depth. After seeing the basic "counter" app modified to Bloc I understood the very basic concepts but struggled to figure out how I might use Bloc in a larger application. This helps a lot.
I think its better than many lengthy bloc tutorials on youtube 🔥
Simple and best explanation of flutter bloc Thanks Akshit, from Pakistan.
Excellent tutorial! I've watched and read a lot of information on Bloc, but this is the first video I've found that actually explains it in a meaningful way. Akshit, thank you for creating this video, you are a great teacher!!
This is the best state-management tutorial so far... was struggling so much with bloc! thanks akshit ! this was helpful and cleared a lot of doubts... keep going!
Hi Akshit,
Thanks for your clear explanation. I really appreciate your effort.
If possible create a content with your way of clean architecture for flutter projects using BLoC
.
Bravo! Thanks a lot. I was struggling to understand the bloc concept and with your teaching I am able to understand it. Thanks once again.
Thanks akshit your tutorial is amazing, I have been looking for the best way to learn bloc non was easy till I saw your tutorial
Just a thought, wouldn't it be better to handle events and states polymorphically using overriden functions in these classes rather than if and switch statements in the UI? This would help make the UI code more readable by completely eliminating any logic whatsoever.
Is the best bloc tutorial for beginners at youtube can understand the concepts of bloc Thanks a lot
Wow, thanks man! I learnt more in this video then a top-rated Udemy course for 5 hours. So happy I finally understand it now!
im just watching for your accent u'r great.
Thank you. This tutorial clearly explained the concepts with practice and gave me a lot of confidence.
Bro thanks so much, I am coming from React Native and Dart and Flutter is beautiful, I love the BLoC but it was complex, this video helps alot. Love from Nigeria
Hey thanks a lot man of all your work and explanation around blocs ! Very cool video. I tried to understand bloc architecture for a long time. And with you it is more and more clear !
Thanks a lot for teaching this to me, i have a few questions if you could answer them in a video form or in reply that "how to use bloc when we need to constantly rebuild the app like if I'm making a chat app I'll need to continuously fetch the new messages and update it in ui" and another one is that "if i want to change this wishlist icon's color and the icon also then how to make that small change in ui using bloc". Please help, I'm grateful for what you've taught me till now and will be grateful for in future too. Thankyou very much 😊
Hello akshit great tutorial brother really learned alot, just a question I tried doing the same exact steps with the wishlist and its bloc but i cannot add items from my wishlist page, although my clickedproduct is working fine and When I click on any items in the Home page It is showing the scaffold message of item wishlisted but it is not getting added can you help?Thanks brother
what a wonderful work you did Akshit, 10000k likes for. your video you made bloc understanding so easier.
Thanks you for sharing. Please add scroll loading more product and refresh data . Better if have to be store local data and remote. ❤🎉
Thank you for the session, it helps me to understand more about BLoC
Thank you for teach in easy way,,
It would be great if you showed us to show the color and icon according to cartlist or wishlist, also if its already in that list, then remove and change the color instantly on the same screen
Excellent session. I have one question How to manage bloc if we have multiple APIs on the same UI page at the initial time?
gosh thank you so mush brother. im so glad there is people like you. seriously if english was my first language ive could write an article how much im grateful for your tutorials
Merci, I finally understood the bloc concepts with you .
Just here in 2024 trying to learn bloc for my final year project, thank you so much bro :)
Which course are you studying
Software Engineering
Jabardat bloc tutorial
Please create one more project this type of bloc concept
A Perfect Bloc Video. Many Thanks for this Effort😇
Thankyou Akshit for this quick but great tutorial over Bloc :)
can you do a video about solid principals and clean Architecture
Please do a live session on clean architecture
well planned session. i love this. thanks brother
Thanks for the tutorial bro. Really helped me a lot in learning the BLoC on Flutter.
Great demonstration and explanation of bloc!
this material is very well covered, add more broadcasts to your channel.
it would be great if you also explained the difference between using bloc and cubit
with Bloc the developer needs to send Events to the Bloc, while with Cubit the developer just calls methods of the specific Cubit class
if the application is very big then do we need to create bloc folder for each one? (if yes , then there will be a lot of code rgt).
Excellent, thank you from 🇵🇰
Thanku for this wonderful tutorial. Can you make a video of a full project with api integration and everything based on bloc?
Thanks bro for such a better explanation
the one doubt i have is, when we save the liked items in a list , it will clear when app restarts. So to avoid that in realtime projects, do we send and save the liked list through api. At the same time we save that list in hive database ?
Isn't it what we must do...?
Please tell how to set emulater in side bar of vs code like in this video
When I right click on my home folder, I cant find option ' make a block files for home', any fixes for that?
THANK YOU FOR THIS VIDEO BRO IT`S REALLY HELP FULL FOR ME !
More videos on this please.. more complex examples
Well explained video 👌, please make more videos on the bloc project.
u have done a great job broda impressive tutorial as it helps me a lot......😊
Thanks, from Brazil!
If possible please make a video on how to architect a flutter project using MVVM or any industry standard pattern with Firebase and Provider.
why do you have to give such long names? even you got confused after writing
Thanks Akshit your tutorial is amazing,
Can you start any complete project tutorial with flutter bloc please
Thanks for your great video. In this sample, you created bloc for every pages (home and cart page). Is it best practice even in big project? I'm thinking about separate cart item (in home page) into new widget and create new bloc for it. Please advice which one is better? Thanks again and wait for next videos
super... please makes more videos using BLOC
You got like to this video when the clicked buttons worked well 😀
Hi Akshit
great explanation and video. Thank you for your time and efforts to create such amazing content.
Question:
when creating states and events for Product wishlist and cart, why did you choose to define them in home bloc instead of their individual bloc's?
I mean HomeProductWishlistBtnClickEvent and HomeProductCartBtnClickEvent
can this be moved to wishlist bloc and cart bloc respectively?
or is there any reason this is not a good idea?
How to make application responsive, i wanna know the best structure/method to manage the UI for various resolutions.
Thanks a lot, this is indeed the excellent BloC tutorial. Good job
Thanks!
want more on same bloc concepts with some big projects like Instagram/WhatsApp/Zomato using flutter bloc/provider more professional using dependency injections and payment integration as well
I have a list item to be display on screen. When I use Bloc patern, should I maintain that list in ListState or in ListBloc?
great video, helped me understand the basics of bloc, im learning so i can rewrite my own app using bloc :-)
Hi..bro..I have completed the Wish list functionality..but the thing tell me the way how can I send the code to U for checking...
Hi akshit, Great tutorial I have learnt a lot
please make a video on null safety in todo app
Hi akshit, Great tutorial I have learnt a lot,
Can we use these coding practices at production level development? if not can you please state the things that could have been improved? Please reply. Thank you.
Helpful Tutorial Akshit....Thanks a lot...
do make courses I would love and gladly purches it
Hi bro, nice work keep it up, loving and learning from your videos. can you tell me which software your are using for screen resizing so smoothly at 45:28
Thank you
Can you please make videos by using bloc with cubit?
Hi Akshit that was a perfect tutorial and you tought bloc with best approach i could learn the concept behind it very easily by watching this video keep on bro 👊👊and uplaod more video like this
Can you explain the functionality if we want to change the wishlist color on tapping it?
Thank you Akshit. Really love this, i always wanted to taste BloC in such your way.
Can you tell me in a sentence or two, what exactly i should do to make the wishlist "Heart" icon red in the first place on home screen?
add a boolean in the initial data, assume its coming from server, then write your logic of red or blank.
hello akshit
really good explanation,
i couldn't find any good resourse for Bloc.
can you suggest some?
need tutorial or study material on clean architecture using bloc.
Thank you very much for this excellent tutorial, Please make a tutorial on API calls using flutter bloc. once again thank you very much
Can you please provide tutorials of cubit ?
Bro,I liked the idea of separating the actionable and not actionable states in bloc state class, I want to use the same logic while using freezed package, but I cannot extend the actionnable state class from the normal state class, the error says : the methods generated by freezed ( when, map, maybeMap, maybeWhen ) for the actionable state class are not a valid override for the the normal state class's genreated methods< I wonder if you can help, it would be much appreciated !
Oh Hi, i have a question that: at home screen I click button (UI1) to add item to wishlist and I change the UI of this button (UI2), but when i remove this item from wishlist screen and return back home screen, the UI of this button is still UI2 (it should be UI1), so could you help me with this question? Thank you
bro thanks but why it does not make rebuild the cart or wishlist when i remove the items.
i made emit for WishlistSuccessState ?
can you help with this problem
To achieve more efficiency how would you make the listTile be dynamic to accept both home and cart bloc? What is the type of data that I need to pass here is it simply a BLoC?
Short and clear👏👏👏..
Good one, akshit! Really helpful
Hi and thanks for your video, it's easy for me to understand the bloc pattern, thank you
Then What is the use of repository , remote repository ,local services and services ??
hi Thanks for the video i really wanted to know how to toggle color when a product is added to the list or removed and i think it would be much better if you use try catch blocs in your functions anyway good luck
Well explained need more video of bloc
hello Akshit... Thank you for making this video but I watched so may articles earilers where they are using blockProvider, is it okay to not use blockProvider?
You can take a course to implement a streaming or direct system like tik tok to do lives
Nice Video! Learned a lot
How can we perform Routing with Bloc
This was very helpful thank you
Hi.. I watch your video on yotube, i am learning flutter i just want to know is dsa require for getting flutter job??
Hi,
nice :)
please also tell us how to use dependency injection and how to call in our UI
what did you mean by click listener at 1:13:50 ?
want to know why wishlistItems & CartItems are roaming freel and how can we write unit test case with this approach?
such an help tutorial love you bro
bro what about rxdart it is important concept in flutter?
How to use dropdown select unselect value update use bloc with model ? please you make video this subject .. plz plz
i love you mate, thank you so much
Please, create tutorials of cubit
Can you do same above thing with solid principal's.
You are really awesome bro!
最好的解释
一切都解释得很清楚,主题很好涵盖
can you implement this using a firestore database