Flutter with Hive and Bloc - Todo App Sample. UPDATED 2022. (Pt 1/2)

แชร์
ฝัง

ความคิดเห็น • 55

  • @amitaditaya9279
    @amitaditaya9279 2 ปีที่แล้ว +7

    Lester from GTA5 teaching us flutter

  • @hunter2473
    @hunter2473 2 ปีที่แล้ว +4

    Thank youuuu for another BLoC 8 related video! It’s such a major help for me to see you use BLoC 8 in different applications

  • @alexora4777
    @alexora4777 2 ปีที่แล้ว +2

    Great video man! Im new at implementing bloc in my projects, and the way you explain has made the understanding way more easier. Hope you keep posting more videos! New subscriber here! :D

  • @philipjanbaruis7040
    @philipjanbaruis7040 ปีที่แล้ว

    Thank you so much! More content please

  • @CristianDumitru
    @CristianDumitru 2 ปีที่แล้ว +2

    Thanks for posting this, man. As a beginner, this is highly appreciated and I hope you'll keep posting :) You have a very nice way of explaining and the pace at which you do things is great :D

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +1

      Thanks! It was hard when starting with Flutter so it's good to help the community learn more about the framework 🙂🙂

  • @justincha6396
    @justincha6396 2 ปีที่แล้ว +1

    Thanks for the great video. Please post the next. :)

  • @buck-johnson
    @buck-johnson 2 ปีที่แล้ว +1

    This is a great tutorial. Thanks a lot. Can't wait for part 2.

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +1

      Thanks! Hope to get to it soon. Have just been super busy lately.

  • @Collins01
    @Collins01 2 ปีที่แล้ว +1

    Thanks a lot bro, hoping to see more on BLOC architecture

  • @tananga1523
    @tananga1523 2 ปีที่แล้ว +5

    OMG Great idea. Please upload more bloc related projects ;)

  • @PankajNikam
    @PankajNikam 2 ปีที่แล้ว +1

    Thank you for this video, waiting for part two 🙂

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +1

      Thanks! Hope to get to it soon. Have just been super busy lately.

    • @PankajNikam
      @PankajNikam 2 ปีที่แล้ว

      @@flutterfromscratch9913 No worries 🙂 I have turned on all notifications so that I wont miss it.

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +1

      @@PankajNikam Thanks! I've also added links to Buy Me A Coffee in the video description. Coming up with content, producing, editing, etc takes a lot of time so any little bit helps. But money is pretty tight around the world at the moment so if that's not an option for you I understand. Thanks for turning on notifications!

    • @PankajNikam
      @PankajNikam 2 ปีที่แล้ว

      @@flutterfromscratch9913 Do check out the buy me a coffee admin, a small contribution from my end. I can totally understand the demanding work and I appreciate it; I wish I could have contributed more, however it's something which I can do right now. Money is also an issue where I live (India), but still as a respect to a fellow developer, I can do it.

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว

      @@PankajNikam Hey wow, thanks! You're the first person to donate haha. I'll get to Part 2 ASAP.

  • @dontforgettovote531
    @dontforgettovote531 2 ปีที่แล้ว +2

    you can have something pretty similar to a DI container in flutter using the get_it package and it works really well even with bloc

  • @NoBodyknow172
    @NoBodyknow172 2 ปีที่แล้ว +3

    I can look for demo where we fetch mutiple apis in which one contains pagination api for infinite scrolling.

  • @ninogjoni
    @ninogjoni 2 ปีที่แล้ว

    I look forward to more videos from you! This is 👍

  • @flutterfromscratch9913
    @flutterfromscratch9913  2 ปีที่แล้ว +13

    This video will be great for you if you are learning flutter_bloc and Hive, but also touches on some other important topics, like how we handle navigation while using flutter_bloc. I'd also like to know if me drawing out how the service registration worked helped you understand it better ☺. Thanks for watching!

  • @szyszak9424
    @szyszak9424 2 ปีที่แล้ว

    it's my 100's of video of bloc, let's see

  • @paininmydroid4526
    @paininmydroid4526 ปีที่แล้ว

    Awesome tutorial.

  • @Abolfazl-MI27
    @Abolfazl-MI27 2 ปีที่แล้ว

    your viedoes are sooooo goood ,simple and sooo good explanation ,please make more

  • @sqrlware
    @sqrlware ปีที่แล้ว

    I love this tutorial but would like to find out why hydrated bloc wasn't utilised since you used bloc and why you chose hive instead. I am just curious.

  • @tananga1523
    @tananga1523 2 ปีที่แล้ว +1

    Why we are using Hive instead of converting this models to JSON and store is in the localstorage?

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +3

      Because every time we wanted to adjust the JSON we'd have to deserialise the entire JSON file into memory, make a change, and then save the whole thing back to the device. Hive lets us add/remove/update individual keys. It's also super quick.

    • @telostia
      @telostia ปีที่แล้ว

      A step up would be to use hydrated_bloc, which automatically persists and restores bloc states. It comes with hydratedstorage which is based on hive for a more performant storage layer. Great for production.

  • @HungLe-rz9uu
    @HungLe-rz9uu 2 ปีที่แล้ว

    Great video, thanks

  • @MeiNeam
    @MeiNeam ปีที่แล้ว

    what if I wnat to let the user see the app without logging in?Like, leaving registration as an opiton instead of making it mandatory

  • @hasan_eke
    @hasan_eke 2 ปีที่แล้ว +1

    Sir thanks for the video but for example when I add a new todo how will I update the state that contains the todos?

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว

      You can copy the state, I'll cover it in the next part of the video

    • @hasan_eke
      @hasan_eke 2 ปีที่แล้ว

      @@flutterfromscratch9913 no it didn't work. This only works if I only have one state in my app.

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว

      I've recorded the second part, I just have to edit it. I'll show you how 😀

  • @johnhabibpour8375
    @johnhabibpour8375 2 ปีที่แล้ว

    May I ask you please to make a video about theory of the bloc, everybody just started coding and no one explain about the structure and purpose of this package, and for us who start Flutter recently is hard to understand,
    Thanks

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว

      I've actually thought about making a video about this exact topic, to explain why bloc exists and what problems it solves. Donations have been a little low lately so I wind up doing more paid work which squeezes out the TH-cam content creation time. I've added this topic to my todo list though 😁😁

  • @NoBodyknow172
    @NoBodyknow172 2 ปีที่แล้ว

    Can we run builder in realase apk via jks?

  • @rvb6516
    @rvb6516 2 ปีที่แล้ว +4

    Nooo please keep the code editor in Dark moooode 😆😬🌙

    • @rvb6516
      @rvb6516 2 ปีที่แล้ว

      Maybe just use bolder fonts ?

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +1

      Yeah I'll try to change the font next time I reckon. Thanks for the feedback 🙂

    • @rvb6516
      @rvb6516 2 ปีที่แล้ว

      & bring dark mode back 🤩😎

    • @flutterfromscratch9913
      @flutterfromscratch9913  2 ปีที่แล้ว +5

      Haha I will

  • @MuhammadKhalid-xr3fd
    @MuhammadKhalid-xr3fd 2 ปีที่แล้ว

    I am using Android Studio on Windows.
    I am not getting "Bloc Class" Option in the New.

  • @brkakcn8481
    @brkakcn8481 2 ปีที่แล้ว

    Thanks for this video :)