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 - Наука
thanks brother! greetings from Peru!
Welcome, brother. It's great to know it was worth your time 😊 .
Hard concept explanation simply superb
Glad to know it was worth your time 😊
thanks, it was so clear and functionaly, thank you so much!
Glad it helped!
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.
Thank you for your feedback.
Nice
Thank you ☻
Nice video , but something I don't understand . Why bloc provider mentioned twice ? One on homepage and again on the blocbody ?!
Bloc needs to be initilaised first in the build..and inside bloc body to acess the state and the bloc data from the state
In the build, Bloc is initialised and inside you can wrap the blocbuilder to the widget that is dependent on that Cubit
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.
nice babu
❤️