BLoC Pattern with Flutter || State Management

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 284

  • @CodeXdev
    @CodeXdev  4 года назад +41

    I hope you people understood the basic concept, in upcoming video for BLoC I am going to cover some more details like:
    1. Closing Stream 🔚
    2. Single Subscription and Broadcasting 📣🔔
    3. Passing parameter to Sink ➡️ and
    4. Different states of StreamBuilder 🎯

    • @faheemahmad3957
      @faheemahmad3957 Год назад

      brother its no longer useful! please remake a new cubit tutorial and make it best and easy

  • @MUZIXABA
    @MUZIXABA 4 года назад +81

    I've watched a lot of BLoC tutorials that left me confused. This is the first one that makes sense. Those iPad visualizations helped out a lot. Thanks

  • @SuperAnkursaini
    @SuperAnkursaini 3 года назад +8

    After watching more than 20 vedios i came here. You are just out of the world. great work man:)

  • @s0mbres
    @s0mbres 2 года назад +1

    This is easily the best BLoC pattern tutorial for Flutter I've seen, and I've seen a lot of them.

  • @juliusguevarra3729
    @juliusguevarra3729 3 года назад +6

    Out of all the videos I've watched, this is the only video that made it all clear for me. Very well explained! Thank you! 🙏🏻

    • @CodeXdev
      @CodeXdev  3 года назад +2

      Great to hear!

  • @on1235
    @on1235 3 года назад +3

    Best Bloc Tutorial i watched so far! You make it look less complicated especially when using the Ipad.

    • @CodeXdev
      @CodeXdev  3 года назад

      Wow, thanks! 😀

  • @lanceolana8277
    @lanceolana8277 2 года назад

    I've watched so many Bloc toturial here in youtube but youre toturial is the best! Thumbs up :)

  • @hoangtri9569
    @hoangtri9569 3 года назад +1

    I'm searching for more than 10 videos, this video is the best of them, great work!

    • @CodeXdev
      @CodeXdev  3 года назад

      Glad you liked it!

  • @JohanLibert-k9g
    @JohanLibert-k9g Год назад

    Man thanks , i've seen many bloc tutorials i didn't get it but ur explanation made so simple and easy

  • @DilwarHossainNoorChandan
    @DilwarHossainNoorChandan 4 года назад +2

    At last I am clear about BLoC. Love you man.

    • @CodeXdev
      @CodeXdev  4 года назад

      Thank you @Dilwar Hossain

  • @mohammedammarkurabi7520
    @mohammedammarkurabi7520 4 года назад +4

    Great effort... I love you explanation man.
    I did your example step by step and at the end converted the state full widget to stateless widget and every things works just fine.
    You are awesome instructor.

  • @salahuddinshaikh7847
    @salahuddinshaikh7847 3 года назад +6

    Very clear explanation. Best Explanation out of ALL explanations I have listened to or read. BTW it was really nice to use a simple example and not a complex one. Bcoz of the example you took it became really clear. And the diagrams were really helpful.

  • @saqib399
    @saqib399 2 года назад

    Great Explanation. I was afraid of learning bloc. But your video gave me a good understanding of it. God bless you

  • @عبدالقادرعبدالرحمنعبدالله

    This is the simplest way of understanding such great concept. thank you.

  • @097Roger
    @097Roger Месяц назад

    iPad visualization ON POINT!
    thank youuuu 🙏

  • @lunaRdeltaY
    @lunaRdeltaY 2 года назад

    that visual really helps alot, it is straight forward and clear enough to be understood, please make more tutorial using this way, really appreciated, thx sir

  • @hk20092009able
    @hk20092009able 2 года назад

    Really the first video. Enjoy and understand the bloذ. Thank you for this most wonderful explanation

    • @CodeXdev
      @CodeXdev  2 года назад

      You are welcome!

  • @higorgustavobarbosadasilva9624
    @higorgustavobarbosadasilva9624 3 года назад

    this was for me the key that was unfound in my mind. Thanks a lot for your life!!! I'm from Brazil.

    • @CodeXdev
      @CodeXdev  3 года назад

      You are so welcome!

  • @keanallen
    @keanallen 2 года назад

    Nice explanation Afzal! Im from GetX, and now I wanted to learn BLoC. This video helps me to get started. Thank you so much!

  • @aaBeben
    @aaBeben 3 года назад

    U r so comprehensive. Glad be here to learn more.

    • @CodeXdev
      @CodeXdev  3 года назад

      Thanks and welcome

  • @RanaAhmed-gr4ub
    @RanaAhmed-gr4ub 3 года назад +1

    clear explanation of Bloc.Thank you brother

  • @anasyousuf485
    @anasyousuf485 2 года назад

    It's a very good approach that you didn't just directly jumped to an advance example, even the basic example gets complex/advance for any new concept and people need to understand this. Thumbs up 👍

  • @habuwet
    @habuwet 2 года назад

    This is the best explanation i have ever watched from many different people videos. Thank you, I will subscribe your channel !! 🔥 🔥

  • @abanahmed4683
    @abanahmed4683 4 года назад +1

    The most super clear explanation

    • @CodeXdev
      @CodeXdev  4 года назад +1

      Glad to hear that!

  • @dengbeny
    @dengbeny 3 года назад

    Thank you. I have been struggling with BloC for a while but now is clear.

    • @CodeXdev
      @CodeXdev  3 года назад

      Good to hear that. 😍

  • @kkatad
    @kkatad 4 года назад +5

    I watched lot's of tutorial but this one clear by bloc pattern concept. Thank you so much doing this useful tutorial.

  • @muhammaddawood4786
    @muhammaddawood4786 2 года назад

    Bro you own my subscription by this video, good job 👍

  • @d.developer
    @d.developer 3 года назад

    First time on you channel and I didn't get disappointment. Now i'm subscribed.

    • @CodeXdev
      @CodeXdev  3 года назад

      Most welcome 😍 Hope you get value in return

  • @DebugWithAdam
    @DebugWithAdam 4 года назад

    U just made this concept more clearer to understand, Good work. Thank you

    • @CodeXdev
      @CodeXdev  4 года назад

      Glad it was helpful!

  • @theradioactivemonkey
    @theradioactivemonkey 3 года назад

    Thank you for this video. BLoC in Flutter finally makes sense :-)

  • @laxmankumar433
    @laxmankumar433 3 года назад

    You are Amazing Man! I bow for you. Thanks for the great explanation.

  • @swayamshreemohantyvlogs8126
    @swayamshreemohantyvlogs8126 3 года назад

    Thnaks for this simplest explanation of BLoC pattern.

  • @MuhammadFaisal-ey5fr
    @MuhammadFaisal-ey5fr 2 года назад

    Thanks for the clear and simple explanation! Keep this style of yours in explaining complex things..
    im auto subscribing!

  • @Ash-td4sx
    @Ash-td4sx 3 года назад

    Best explanation for BLoC must say!!

  • @desdrianton5993
    @desdrianton5993 3 года назад

    I've watched so many bloc tutorial.. this is the simplest one... good job 👍

  • @jakubpatrik2326
    @jakubpatrik2326 4 года назад +3

    great, short and understandable tutorial on bloc pattern. I am finally able to explain it further to my friends. :)

  • @praveenhamal
    @praveenhamal Год назад

    subscribed just for explaining bloc the simplest way ..keep making similar contents

  • @hardiksinhjivansia1244
    @hardiksinhjivansia1244 4 года назад

    I don't usually comment but
    After trying many videos this is the best video I have come accross.
    Great explanation ( kudos for visual explanation on ipad )

  • @cjt5570
    @cjt5570 3 года назад

    I've watched so many BLoC tutorials from US to China but was still struggling to understand it. And this video explained so well that I finally get the concept of BLoC. Thank you so much.
    Say no more. Subscribed. 😃
    ps: Thank you sir you saved me a lot of time, and I am gonna spend some of my time to watch the Ads on your videos. Hope that helps😊

    • @CodeXdev
      @CodeXdev  3 года назад

      Thank you so much for the lovely feedback 🥰

  • @walidwazini7628
    @walidwazini7628 3 года назад

    Great video, great audio clarity.

  • @himanshukesharwani5333
    @himanshukesharwani5333 3 года назад

    One of the best explanation of Bloc

  • @venkatareddykunduru1828
    @venkatareddykunduru1828 3 года назад +1

    Really great explanation what a man are you

  • @nextebiz6897
    @nextebiz6897 3 года назад +1

    great video, love from Islamabad, Pakistan.

  • @saravanan925
    @saravanan925 3 года назад

    has become a fan of your way of teaching!!! ❤️

  • @autumnuniverse1940
    @autumnuniverse1940 2 года назад

    You’ve explained BLoC pattern perfectly

  • @marco_di
    @marco_di 4 года назад +1

    The best BLoC tutorial ever :-) I'm looking forward for your next lessons :-)

  • @Kerol-review
    @Kerol-review 3 года назад

    Thank you very much for the explanation, very clear and easy to understand, one of the best channel so far

  • @battleGroundAce832
    @battleGroundAce832 4 года назад

    Thankyou so much for clearing the concept of bloc. Really so much helpful to me.

  • @olishiz
    @olishiz 4 года назад

    You definitely has the most aesthetic handwriting on your iPad lol. And I love how you explain it fully till the end to deliver your message. Subscribed to you. Thanks! Had trouble understanding BLOC and state management for mobile apps haha

    • @CodeXdev
      @CodeXdev  4 года назад

      Thank you so much 😀 iPad idea really worked out for many. I think i should do more explanation videos using iPad 👨🏻‍💻📲

  • @sodiqeniola474
    @sodiqeniola474 2 года назад

    Simply great. Thanks for this, Afzal.

    • @CodeXdev
      @CodeXdev  2 года назад

      Most welcome, hope you have subscribed ☺️

  • @siddheshsonawane3849
    @siddheshsonawane3849 3 года назад

    best video on BloC state management

  • @SIDDARTHBHURA
    @SIDDARTHBHURA 4 года назад

    By Far the best explanation on Bloc Pattern. Thank you .

    • @CodeXdev
      @CodeXdev  4 года назад

      You're very welcome!

  • @stefanomilani9553
    @stefanomilani9553 2 года назад

    Great explanation, many compliments

  • @poisonels8023
    @poisonels8023 4 года назад +2

    Thanks very much. More Flutter video please

    • @CodeXdev
      @CodeXdev  4 года назад +1

      I am on it 😊

  • @kevinalbrecht5575
    @kevinalbrecht5575 3 года назад

    Hi, nice video, good explainations, thought you forgot to talk about closing then I saw the part two. thanks dude

  • @seetheworld3839
    @seetheworld3839 10 месяцев назад

    Damn! That was some really well explained explanation❤

  • @anmolkumarshah
    @anmolkumarshah 4 года назад +3

    he really taught this complex topic well
    i was struggling to understand this

  • @aqibali1909
    @aqibali1909 2 года назад

    Thank you sir for making this so easy to understand

  • @pravinromano8774
    @pravinromano8774 3 года назад

    Thank you so much brother for such a wonderful tutorial thank you so much

  • @gentlepeace-09
    @gentlepeace-09 3 года назад

    Looking for the perfect explanation .. you very good

  • @backer_sid
    @backer_sid 4 года назад

    Best bloc explanation ever....👍🏽

    • @CodeXdev
      @CodeXdev  4 года назад

      Wow, thanks @Backer!

  • @shubhamnaik1982
    @shubhamnaik1982 4 года назад +1

    Nice Explaination, Thanks

  • @supun_sandaruwan
    @supun_sandaruwan 2 года назад

    Those iPad visualizations helped out a lot. Please do explanation like that in future videos. Great sir 🔥♥

    • @CodeXdev
      @CodeXdev  2 года назад +1

      Thanks, will do!

  • @developermaniax
    @developermaniax 2 года назад

    Thank you for this awesome video you saved my day! 🍻

  • @faisalmushtaq2287
    @faisalmushtaq2287 4 года назад +1

    Best tutorial ever!!!!

  • @noshingh521
    @noshingh521 4 года назад +18

    I saw many videos from bloc pattern, but it’s the best explanation! Thanks. But I have some question.
    Are there any differences from flutter_bloc and bloc Api? And in some videos use another way in bloc class, override initial state and mapToEvent method. Which one is better? Using streamContoller like you explained or another way with using mapToEvent and initialState method in Block class?

  • @PasinduBroomer
    @PasinduBroomer 3 года назад

    only tutorial i understood thanks alot man

    • @CodeXdev
      @CodeXdev  3 года назад

      Seriously! What other tutorials you have seen ?

  • @Grovermol
    @Grovermol 4 года назад +1

    Nice tutorial, thanks!, i'm already looking forward the next login bloc tutorial.

  • @chndraja
    @chndraja 4 года назад +1

    Hey Afzal, thanks for this video.

  • @samyaahmed6972
    @samyaahmed6972 3 года назад

    Excellent explanation! Both thumbs up. Thank you.

  • @PaWLO1501
    @PaWLO1501 4 года назад

    Very good way of sharing your knowledge !

    • @CodeXdev
      @CodeXdev  4 года назад

      It's my pleasure

  • @ezalor9555
    @ezalor9555 3 года назад

    Such a great explanation and video!!

  • @trextyrans
    @trextyrans 3 года назад

    Love it so much!!!...easy to understand explanations.

  • @mahendrank2567
    @mahendrank2567 3 года назад

    thank you for your clear explanation

  • @abhishekjain3383
    @abhishekjain3383 4 года назад

    Thank you so much. First time I understand the bloc pattern perfectly.. 😍🙌

    • @CodeXdev
      @CodeXdev  4 года назад

      You are welcome 😊

  • @rodinsuniga5549
    @rodinsuniga5549 4 года назад +3

    Very comprehensive tutorial video! The Ipad Illustration really helped a lot!
    Can you show or give advice on how should we structure our folders and files using BloC?
    thank you very much!

  • @MuhammadUmair001
    @MuhammadUmair001 3 года назад

    very nice brother, May Allah swt bless you

  • @freeyow4405
    @freeyow4405 2 года назад

    Awesome explanation

  • @bivekvivek
    @bivekvivek 4 года назад +1

    Good work bro 👍 quality is upto mark , u deserve more subs ❤️

    • @CodeXdev
      @CodeXdev  4 года назад +1

      Thank you so much 😀

  • @adeelzahid9622
    @adeelzahid9622 3 года назад

    very appreciated. You make it easier. ✌️👍

  • @AhmadAli-mm5ff
    @AhmadAli-mm5ff 4 года назад +2

    Just took membership.. Looking forward for great tutorials ahead! Thank you so much for your videos.🙏🏻

    • @CodeXdev
      @CodeXdev  4 года назад +1

      Thank you so much 😊 Hope to see you in next Member-only LiveStream

  • @hawkybae
    @hawkybae 4 года назад +1

    Thanks for this! the iPad visualizations helped :) Subbed.

    • @CodeXdev
      @CodeXdev  4 года назад

      Thanks for the sub!

  • @RaselKhan-ds7nc
    @RaselKhan-ds7nc 4 года назад +2

    Alhamdulillah. Now I am clear on BP
    Thank you bro

  • @eyobedet5144
    @eyobedet5144 3 года назад +1

    Now I got it, thanks alot.

    • @CodeXdev
      @CodeXdev  3 года назад +1

      👍🏼👍🏼 kudos

  • @ariuntsetsegmunhtulga3732
    @ariuntsetsegmunhtulga3732 3 года назад

    Absolutely help me. Thank you so much

  • @ahamedalvi1218
    @ahamedalvi1218 3 года назад

    Bro you are awesome keep it up. Thank you

  • @Nam-ug5jp
    @Nam-ug5jp 4 года назад +1

    This is what i need. Thank you!

  • @silnt3489
    @silnt3489 4 года назад

    so it bad to use a lot a stream controllers? or doesn't matter the limit?

  • @akedevjs
    @akedevjs 4 года назад

    Super Perfect this tutorial... Great Man !!!

    • @CodeXdev
      @CodeXdev  4 года назад

      Glad you liked it!

  • @AshishKumar-dl2mc
    @AshishKumar-dl2mc 3 года назад

    Great explanation 🙌

    • @CodeXdev
      @CodeXdev  3 года назад

      Glad you think so!

  • @hl-apps
    @hl-apps 3 года назад

    Awesome video! everything make sense!

    • @CodeXdev
      @CodeXdev  3 года назад

      Glad it was helpful!

  • @chinnaswamyreddy3828
    @chinnaswamyreddy3828 4 года назад

    sir super sir perfect explanation
    in the same way you should do full flutter course

  • @hoggish
    @hoggish 4 года назад

    One of the best explanation

    • @CodeXdev
      @CodeXdev  4 года назад

      Glad you think so!

  • @FaAbYorker
    @FaAbYorker 3 года назад +1

    Amazing explanation.. keep going ❤️❤️❤️

    • @CodeXdev
      @CodeXdev  3 года назад +1

      Thank you.. with support from you guys, soon we will reach 20k subscribers club🎉🎉

  • @pranthonyaquino
    @pranthonyaquino 3 года назад

    Excellent explanation, thanks!

  • @francescofreddi4374
    @francescofreddi4374 4 года назад

    at min 9:20 more or less... for explain idea better (because i noticed that later on); is better to write: counterBloc.counterSink.add(0);
    So is very very clear to understand whats going on!! and why all process dont call another times build part!!!!!
    I didn't understand right away! For me is a core part of that lesson; that is many different from many more other lessons

  • @gunasekaranpalanisami6182
    @gunasekaranpalanisami6182 3 года назад

    Nice with ipad explanations ...

  • @ibrahimshifa4546
    @ibrahimshifa4546 4 года назад

    great understanding and explanation thanks

    • @CodeXdev
      @CodeXdev  4 года назад

      Glad you liked it

  • @VijayAdhithyaramasamy
    @VijayAdhithyaramasamy 3 года назад

    very nice video got it easily

  • @buck-johnson
    @buck-johnson 2 года назад

    Great video, I'm sorry I can only give thumbs up but once.

    • @CodeXdev
      @CodeXdev  2 года назад

      You like and comment is much appreciated 👍🏼