#5 Flutter BLOC Counter App || Flutter Bloc State Management Complete Course 2024

  Рет қаралды 9,028

The Tech Brothers

The Tech Brothers

Күн бұрын

In this lecture we will learn how to create counter app using bloc state managment. We will also explore abstraction class concept in detail while creating counter event. We will also learn how we can create counter state class, what is the purpose of copy with method and how it helps us to change state. We will also learn how to create bloc and then how to use events and state in our bloc class. We will also explore what is bloc provider widget, how to add bloc to our widget tree, what is bloc builder widget and how it track changes.
WhatsApp channel: whatsapp.com/channel/0029Va7l...
Tiktok: / axiftaj
Instagram: / thetechbrotherss
Join fb group: / 983554978866765
_____________/Connect On Social Media\____________
► linkedin:➜ / axiftaj
► Instagram:➜ / axif_taj
► Facebook:➜ / aaxiftaj
► Twitter:➜ / axiftaj
► GitHub:➜ github.com/axiftaj
► Hire me on Fiver:➜ www.fiverr.com/asif_taj
=========================================
Free Flutter Bootcamp
• Flutter bootcamp 2022 ...
Flutter Rest API’s Tutorials
• Flutter REST API Tutor...
Provider State Management
• Flutter - MVVM Archite...
GetX State Management
• Flutter GetX State Man...
Flutter Google Map Tutorials
• Flutter Goolge Map Tut...
Flutter SQL Tutorials with shopping cart example
• Flutter Shopping Cart ...
Flutter Hive NOSQL Database
• Flutter Hive NoSQL Dat...
Flutter Firebase Tutorials
• Flutter Firebase Tutor...
Flutter Firebase Notifications Tutorials
• Flutter Firebase Notif...
Navigation & Routing
• Chapter 11 - Navigatio...
flutter, roadmap, bloc, bloc state management, bloc course, bloc tutorials, bloc state management complete course, bloc counter app, counter app, flutter bloc, flutter counter app
for business query write me at:
axiftaj@gmail.com
00:00 Announcement and Demo
00:30 What we will learn in this example
01:15 Adding Packages
02:40 Creating UI
06:30 Counter Event Class & Abstraction
11:20 Counter State & Copy with method
15:45 Counter BLOC
25:30 BLOC Provider
27:00 BLOC Builder & It's purpose
29:30 Add Events
#flutter #bloc #codingforbeginners #statemanagement #dart #bloc #provider #counterapp

Пікірлер: 88
@sanjaysingh-kq8wg
@sanjaysingh-kq8wg 7 күн бұрын
damn bro at my job i was so confused how to use bloc you saved me bro..
@thetechbrotherss
@thetechbrotherss 6 күн бұрын
glad to hear this practice on 2,3 more videos for better understanding
@user-vp9zs5xy4x
@user-vp9zs5xy4x Ай бұрын
Great, Explanation !
@thetechbrotherss
@thetechbrotherss Ай бұрын
Thanks
@dgisfit8714
@dgisfit8714 24 күн бұрын
well explained brother👌
@thetechbrotherss
@thetechbrotherss 24 күн бұрын
Thanks
@abdullahakb3925
@abdullahakb3925 6 ай бұрын
This is what we called : "Teaching stuff" Stay Blessed 😇
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Thanks with your friends
@abdullahakb3925
@abdullahakb3925 6 ай бұрын
@@thetechbrotherss sure why not
@omkarmore1351
@omkarmore1351 2 ай бұрын
Thanks for your easy explanation excited to complete the course!!!
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
Good luck
@miis_take155
@miis_take155 4 ай бұрын
is video se he samaj gaya sir sabkuch thank you 🤘🤘🤘
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
do share
@pawansingh-xc2yv
@pawansingh-xc2yv 6 ай бұрын
Please make a Turtorial on " how to write CLEAN and MODULAR code while making flutter projects"
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
I will once i am done with basic and practice video
@nafizaldin3932
@nafizaldin3932 Ай бұрын
Thanks Broo. You explained it very well.
@thetechbrotherss
@thetechbrotherss Ай бұрын
Thanks
@sanketkarale5210
@sanketkarale5210 3 ай бұрын
Thank You Sir...🙏
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
share with your friends
@mohitverma4580
@mohitverma4580 2 ай бұрын
Thank you so much sir ☺️🙏
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
Most welcome
@loveleshagrahari3875
@loveleshagrahari3875 3 ай бұрын
Thank you very much
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
You are welcome, do share with your friends
@ISOLATED_MAN_
@ISOLATED_MAN_ 2 ай бұрын
sir thanx a lot..big fan of ur videos......
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
Thank you, do share with your friends
@ISOLATED_MAN_
@ISOLATED_MAN_ 2 ай бұрын
@@thetechbrotherss sure is..
@Amjad_Sajjad329
@Amjad_Sajjad329 Ай бұрын
Very nice video but very difficult concept.
@thetechbrotherss
@thetechbrotherss Ай бұрын
i must say follow next video for practice, you will understand it
@shaheryarmalik4306
@shaheryarmalik4306 2 ай бұрын
great explanation.
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
Glad you like it
@shubhamg9495
@shubhamg9495 3 ай бұрын
You are great at explaining bhai
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
thank you do share with your friends
@MuradAli-si2gw
@MuradAli-si2gw 21 күн бұрын
@thetechbrotherss
@thetechbrotherss 20 күн бұрын
thanks
@abuhurairah5046
@abuhurairah5046 6 ай бұрын
wow wow wow
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Share with your friends
@arvideo1053
@arvideo1053 6 ай бұрын
First comment brother ❤
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Good job
@abbasali8540
@abbasali8540 4 ай бұрын
please sir make a series on Bloc, TDD and Clean architecture
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
bloc ki playlist uploaded ha
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
ok
@flutterdart47
@flutterdart47 4 ай бұрын
explain in evry simple way but agr e itna lmab process hia to hm ise q use kretia hia
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
Lamba ni ha you need to get used to it, also you have more control over data Testing easy ho jati ha
@user-lh6mh9zq5j
@user-lh6mh9zq5j 6 ай бұрын
video uploading speed increase please❣
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Ok
@gyanupadhyay9473
@gyanupadhyay9473 6 ай бұрын
when to use a single class for bloc states with a copywith constructor and when to use a multiple state class ..?
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Usually bloc consists of building multiple states, i have taught this method in next video.
@numankhan6281
@numankhan6281 2 ай бұрын
List get props => [counter]; what is the main purpose of comparing variables,
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
It is used to hold the value of variable and then it compares objects in backend code of package
@numankhan6281
@numankhan6281 2 ай бұрын
@@thetechbrotherss thank you😍😍
@muneebullah427
@muneebullah427 6 ай бұрын
Sir I am getting this error while running App Error on line 42, column 3 of pubspec.yaml: A package may not list itself as a dependency. ╷ 42 │ bloc: ^8.1.2 │ ^^^^ ╵ flutter_bloc: ^8.1.3 equatable: ^2.0.5 bloc: ^8.1.2 i add same dependance as you added.
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
package ko back ly kr jao 1 space
@MuhammadRiaz-cx3dm
@MuhammadRiaz-cx3dm 6 ай бұрын
Provider ko chorh k block seekh ly boss?
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
wo bhi seekho pehle
@kenil7327
@kenil7327 4 ай бұрын
I can't add flutter_bloc , plz suggest me how can i do that,
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
You must be doing something wrong, you can also add packages to yaml file
@saadansari1643
@saadansari1643 4 ай бұрын
Beautiful 💫 Thanks again for this great course.
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
You are so welcome!
@IndianAkkiPrajapati
@IndianAkkiPrajapati Ай бұрын
bloc m to hum stateless widget ka use krte hai
@thetechbrotherss
@thetechbrotherss Ай бұрын
Wo bhi kr skty ho
@morningstar3304
@morningstar3304 6 ай бұрын
Bloc class ka constructor nhn ban raha jaise aap ne initialize kya hai separately with super method
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Ap follow karin zaroor create hoga
@saqibbhatti4452
@saqibbhatti4452 6 ай бұрын
Explain copyright method plz
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
i explain in very detail may be you have skipped video, check timestamp
@nativeworld0
@nativeworld0 4 ай бұрын
NO src code which country are you from
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
Pakistan, check my GitHub everything is available
@shahabmustafa9672
@shahabmustafa9672 6 ай бұрын
sir mana is video sa bloc seek leya sirf practis karta ho is kaa
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
NeXT videos daikh lo till favourite app
@Shatrudhankumar-jz3hk
@Shatrudhankumar-jz3hk 23 күн бұрын
decrement me minus me ja raha hai uske liye kya karna hoga
@thetechbrotherss
@thetechbrotherss 23 күн бұрын
Conditions laga lo function ma ya bloc builder sy value get k check laga lo
@Shatrudhankumar-jz3hk
@Shatrudhankumar-jz3hk 22 күн бұрын
@@thetechbrotherss bloc builder me check kaise lagaye
@Shatrudhankumar-jz3hk
@Shatrudhankumar-jz3hk 22 күн бұрын
@@thetechbrotherss code bta sakte hai kya sir
@saqibbhatti4452
@saqibbhatti4452 6 ай бұрын
Explain ?? This Operator
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
this means current value
@umarwaqar774
@umarwaqar774 5 ай бұрын
there is no explanation of core concepts by saying ya aisy hota ha.. ya iska syntax ha.. bar bar chatgpt sa dkhna prta agr sai concept lna ho to CounterBloc() : super(CounterState()){}
@thetechbrotherss
@thetechbrotherss 5 ай бұрын
i have explain each and everything i have mention this thing in my first video why you need understanding of basic opp concepts. so respectfully dis agree with you.
@gautamsolanki3644
@gautamsolanki3644 18 күн бұрын
why not cubit
@thetechbrotherss
@thetechbrotherss 18 күн бұрын
If you know bloc then you are done with cubit as well ✌️
@gautamsolanki3644
@gautamsolanki3644 15 күн бұрын
@@thetechbrotherss same work me cubit me kar sakta hu ki usme sirf api or login vla kam karu
@hiteshkumaryadav8373
@hiteshkumaryadav8373 6 ай бұрын
Nhi bhai samjh nhi aaya, kaafi complicated bna diya bro.
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
ok
@hiteshkumaryadav8373
@hiteshkumaryadav8373 6 ай бұрын
@@thetechbrotherss ok nhi bhaiya thoda aur achhe se samjhao
@shreyashgupta2706
@shreyashgupta2706 22 күн бұрын
bhai tum kitna confuse krke bolte ho
@thetechbrotherss
@thetechbrotherss 22 күн бұрын
Ok, thanks for feedback
@morningstar3304
@morningstar3304 6 ай бұрын
Halwa bana diya hai
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Hehehehe 🙌
Create Multi Language App | Internationalization & Localization In Flutter
3:01
Flutter Provider State Management in 7 minutes
7:01
Rivaan Ranawat
Рет қаралды 14 М.
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 11 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18