Flutter Tutorial - Flutter BLoc Http Get Example

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Learn to fetch the data from API or using http request with Flutter BloC pattern. Here we got you covered about states, events and how to build the blocs using them. Also got you covered how to create states and events and connect them using the blocs.
    Buy me a coffee:
    www.buymeacoff...
    PACKAGES:
    pub.dev/packag...
    pub.dev/packag...
    pub.dev/packag...
    FULL CODE:
    github.com/nbn...
    FOLLOW:
    GitHub: github.com/nbnD
    Medium: / nabin.dhakal
    LinkedIn: / nabindhakal
    #flutter #flutterjunction #fluttertutorial #flutterforbeginners #learnflutter #bloc #blocflutter #blocpattern #blocinflutter #bloctutorial
  • НаукаНаука

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

  • @pringstom
    @pringstom Год назад +2

    thanks brother! greetings from Peru!

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

      Welcome, brother. It's great to know it was worth your time 😊 .

  • @sivasantosh7326
    @sivasantosh7326 Год назад +2

    Hard concept explanation simply superb

  • @abdulmateenmaher1881
    @abdulmateenmaher1881 6 месяцев назад +1

    thanks, it was so clear and functionaly, thank you so much!

  • @walrider7374
    @walrider7374 Год назад +2

    I'm not an expert, but from what I know it is considered a bad practice to use Widget type functions as they can slow down the app, you should pass widgets, not functions that return widgets to build your tree.
    The second suggestion is mostly improving syntax.
    Aside from that, thank you! your explanation was very good.

  • @SoluvParajuli
    @SoluvParajuli Год назад +1

    Nice

  • @HossamKandil
    @HossamKandil Год назад +1

    Nice video , but something I don't understand . Why bloc provider mentioned twice ? One on homepage and again on the blocbody ?!

    • @nabin.dhakal
      @nabin.dhakal Год назад +1

      Bloc needs to be initilaised first in the build..and inside bloc body to acess the state and the bloc data from the state

    • @flutterjunction
      @flutterjunction  Год назад +1

      In the build, Bloc is initialised and inside you can wrap the blocbuilder to the widget that is dependent on that Cubit

  • @jamalkhan-my4tg
    @jamalkhan-my4tg 11 месяцев назад

    Very nice, kindly we need a complete todo app (user status checking like login and logout etc using firebase as back end and state management bloc.

  • @sitadhakal3496
    @sitadhakal3496 Год назад +1

    nice babu