Part - 6 || Multi provider in flutter - Provider Example 2 || Provider State Management course

  Рет қаралды 21,398

The Tech Brothers

The Tech Brothers

2 жыл бұрын

In this video we will discuss what is multi provider, how we can create multiple provider classes with change notifier. In this example we will use slider widget and will change the colours of container using provider with change notifier.
► Join My Facebook 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
=========================================
► Rest Api Playlist : ➜ • Flutter REST API Tutor...
► Flutter Blog App Playlist: • Flutter Blog App with ...
►Covid-19 Tracker App using Rest API's :
• Create Coronavirus (CO...
►Firebase Blog App Android Java:
• Firebase Blog App - Ho...
►C++ Tutorials :
• C++ Programming Tutori... .
flutter, flutter provider, multi provider, change notifier, stateless widget, stateless, state management, flutter provider, provider
For business queries : axiftaj@gmail.com
Thank you for watching my channel do give feedback about this video.
#codewithasif #provider #statefulwidget #widget #stateful #flutterprovider #statemanagement #flutter #road #map #changenotifier #multiprovider #multi #provider

Пікірлер: 87
@viyanmohmad4576
@viyanmohmad4576 27 күн бұрын
the way you are explaining is so clear and easy to follow as always, you are the best.
@thetechbrotherss
@thetechbrotherss 27 күн бұрын
Glad you think so!
@moammarqaddafi4858
@moammarqaddafi4858 Жыл бұрын
Alhamdulilah! I have solved that issue .. I was having in shopping cart.. I have added the total after discount option by using same provider class... You are great Bhaiyya .. you have designed this course in a way that there is more learning with each step. I have just solved that problem after watching this playlist till now. I knew this list will help me.. thank you.. Alhamdulilah.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
If you solved the issue do update the previous comments as well. keep learning, keep sharing
@junaidjameel5049
@junaidjameel5049 Жыл бұрын
Thank you sir!. The way you teach us is Incridable. No everybody can do this. Kudus to you and lots of love and respect.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@DivyanshArya-bc2dx
@DivyanshArya-bc2dx Жыл бұрын
such a great video on provider, from couple of weeks i'm trying to understand provider...but by your playlist i did it in just a day.....a big thanks to you man!! keep it up.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@Stranger77704
@Stranger77704 Жыл бұрын
Amazing playlist I appreciate your hardwork done for us.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Support me by subscribing and share my insta with people
@flutter_crafter
@flutter_crafter 2 жыл бұрын
Thanks, brother it really helps me a lot. I didn't know the Consumer widget before.
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Go ahead you will learn a lot of things in this series, do share with your friends
@itszeeshan876
@itszeeshan876 Жыл бұрын
indeed had a great video ever, accurate and clear explaination.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Thank you
@AliHaider-et8dz
@AliHaider-et8dz 4 ай бұрын
Very simple but very effective. Allah bless you.
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
thank you
@hamzashehzad7273
@hamzashehzad7273 Жыл бұрын
Sir really thankful ap n bht zbrst provider smjhaya h
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@demodemo9429
@demodemo9429 2 жыл бұрын
GGG sir, Great Video ,Great Explanation,Great Work..🖤🖤🖤😍
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you do subscribe and share with your friends.
@laraib.sheikh5982
@laraib.sheikh5982 2 жыл бұрын
Amazing Playlist ...🫡 👌 Rest Api integration is also very amazing... Kindly make videos on rest apis in more depth..
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Bro rest apis ki full playlist jiss ma 22 videos ha, har use case ko implement kia ha everthing do check out. Flutter APIS Tutorials Playlist: lnkd.in/dQEe7ZBc
@waleedgaming8064
@waleedgaming8064 Жыл бұрын
awesome tutorial. Really appreciate your effort.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Thank you
@jacsdev
@jacsdev 5 ай бұрын
amazing!!! congrats!!!!! Regards from Venezuela
@thetechbrotherss
@thetechbrotherss 5 ай бұрын
Thank you very much!
@moeezahmedkhan
@moeezahmedkhan Ай бұрын
You are great 💝
@thetechbrotherss
@thetechbrotherss Ай бұрын
Thank you so much 😀
@Amjad_Sajjad329
@Amjad_Sajjad329 Ай бұрын
Very nice video ❤.
@thetechbrotherss
@thetechbrotherss Ай бұрын
Thank you 🤗
@sa_techsoultion1069
@sa_techsoultion1069 8 ай бұрын
a true Legend Saaloot✋ sir ❤🐐
@thetechbrotherss
@thetechbrotherss 7 ай бұрын
Thanks
@vishalgarna4580
@vishalgarna4580 10 ай бұрын
Excellent
@thetechbrotherss
@thetechbrotherss 10 ай бұрын
Thanks
@shaheentech8168
@shaheentech8168 2 жыл бұрын
Excellent!
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you do subscribe and share with your friends
@commercekv8422
@commercekv8422 10 ай бұрын
it is really good
@thetechbrotherss
@thetechbrotherss 10 ай бұрын
Thank you
@user-nb4nn9ki4y
@user-nb4nn9ki4y 9 ай бұрын
awesome video
@thetechbrotherss
@thetechbrotherss 8 ай бұрын
Glad you enjoyed it
@kalpenvaghela9491
@kalpenvaghela9491 2 жыл бұрын
Very nice bhai
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Shukria bhai doston k sath share kr dain
@abdulwajid6010
@abdulwajid6010 7 ай бұрын
thanks brother
@thetechbrotherss
@thetechbrotherss 7 ай бұрын
Welcome, do share with in your circle
@umarwaqar774
@umarwaqar774 Жыл бұрын
excellent
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@SehrishMoujahid
@SehrishMoujahid Жыл бұрын
amazing
@thetechbrotherss
@thetechbrotherss Жыл бұрын
thank you
@munirtabassum315
@munirtabassum315 2 жыл бұрын
thanku
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad it helped, do subscribe and share with your friends.
@shaheendevelopers
@shaheendevelopers 2 жыл бұрын
Thanx
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Welcome
@jamalkhan-my4tg
@jamalkhan-my4tg 2 жыл бұрын
Final provider= provider Of(context); why you removed this after adding consumer widget..?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
yeah to mainy first example ma bhi btya tha, i don't want my widget to build from the top. so you can set listen to false and used it.
@namastecoding23
@namastecoding23 6 ай бұрын
Hi, instead of using Consumer can I use ClassName extends ConsumerStatefulWidget ?
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
I think their must be a way for it but i am not sure
@syedmuzammilali8781
@syedmuzammilali8781 Жыл бұрын
I have a use-case which I can't figure out. For suppose we have two sliders (A & B) in one screen and we're using one provider file. So when we set the value of Slider A then it makes rebuild for Slider B too. Since notifyListener() makes all the associated widget listen to changes. What can I do in this regard ?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I want you to figure it out and share with us
@sushgya2127
@sushgya2127 Жыл бұрын
Why do we use context.watch() and read .
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Its another way to change providers value and observe the change
@mohammadwasifsheikh9540
@mohammadwasifsheikh9540 Жыл бұрын
Sir Please can you tell me why we need for multi provider ? Please clarify with simple example in my comment's reply Otherwise you are able for big appreciation
@thetechbrotherss
@thetechbrotherss Жыл бұрын
We wan have multiple provider and want to share data cross the app globally we used this. Always create provider where you need them.
@mohammadwasifsheikh9540
@mohammadwasifsheikh9540 Жыл бұрын
@@thetechbrotherss Thank you sir
@SunnyPasswala
@SunnyPasswala Жыл бұрын
I've Putted min: 0 And max: 1 in slider, its running but Whenever i extend max 1 to 10 ...it is showing Error ......Why this?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
in slider you have to give value from .1 to 1
@user-eh4fm7uq6w
@user-eh4fm7uq6w 23 күн бұрын
Why we importing foundation library? 7:33
@thetechbrotherss
@thetechbrotherss 22 күн бұрын
Used to annotate an instance member that was made public so that it could be overridden but that is not intended to be referenced from outside the defining library.
@NoorTaj-ye5rc
@NoorTaj-ye5rc Жыл бұрын
Salam Sir, Hm Foundation library q add karty hai?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please check documentation
@mbamusic3570
@mbamusic3570 2 ай бұрын
Sir windows mai jo hm flutter code likhty hai kia wo iphone pr bhi data cable k through run ho skta hai ya nhi
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
Us k liye macbook ka hona must have
@kunutripathy5854
@kunutripathy5854 Жыл бұрын
in my case build is printing multiple time
@thetechbrotherss
@thetechbrotherss Жыл бұрын
you must be doing something wrong
@farrukhjaved8258
@farrukhjaved8258 5 ай бұрын
class ChangeProvider extends ChangeNotifier { int abc = 10; void updated() { abc++; notifyListeners(); } } why we used the getter and setter methods where we can achieve the target without them?
@thetechbrotherss
@thetechbrotherss 5 ай бұрын
Getters and setters are used to protect your data, particularly when creating classes. For each instance variable, a getter method returns its value while a setter method sets or updates its value. Given this, getters and setters are also known as accessors and mutators, respectively.
@azam_izm
@azam_izm 2 ай бұрын
well I also had the same question, asif bhai answered but I need a bit explanation yet, how getter protects our data? how our data can be lost if we don't use get?
@tasaddaqrandhawa4219
@tasaddaqrandhawa4219 Жыл бұрын
♥♥♥♥♥♥♥♥♥
@thetechbrotherss
@thetechbrotherss Жыл бұрын
❤️
@dev.faizan
@dev.faizan Жыл бұрын
just Wrap scaffold with Consumer
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Ok
@m_majid_07
@m_majid_07 6 ай бұрын
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
thanks
@ChainCrafts99
@ChainCrafts99 10 ай бұрын
yaar nahi smj mai a raha
@thetechbrotherss
@thetechbrotherss 10 ай бұрын
yar sorry agr ni aa raha to
@zoshypermar
@zoshypermar Жыл бұрын
After watching all the lectures, there was no problem. But the topic with the provider is beyond comprehension. I am getting an error. I don't know why.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please watch carefully and follow along side with and listen carefully
Part - 7 || Favourite App with Provider || Provider State Management course
24:57
Flutter Provider Simply Explained
9:08
Learn App Code
Рет қаралды 88 М.
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 65 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 66 МЛН
Flutter Provider EASY Tutorial
9:43
Flutter Mapp
Рет қаралды 46 М.
Crazy Flutter Interview Questions: Expert Tips & Insight
21:59
Code Red Clan
Рет қаралды 7 М.
Favorite App using Provider | Flutter State Management
8:12
Nitish Kumar Singh
Рет қаралды 13 М.
Provider 📱 Simple State Management • Flutter Tutorial
5:48
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 11 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 12 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 8 МЛН