Part - 7 || Favourite App with Provider || Provider State Management course

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 127

  • @The_Suraj_Khot
    @The_Suraj_Khot 8 місяців тому +2

    Bro your teaching way is the best way in the world......

    • @thetechbrotherss
      @thetechbrotherss  8 місяців тому +1

      Thank you so much 😀 do share with your friends

  • @syedshabbarraza7858
    @syedshabbarraza7858 7 місяців тому +4

    JazakaAllah sir bohot achy sy samjhaya

  • @saadofficial0999
    @saadofficial0999 Місяць тому

    have to say i am more comfortalbe with using state management while progressing through this series. Great work!

  • @MamunTtr
    @MamunTtr Рік тому +2

    take love from Bangladesh

  • @AnupUpadhayaya
    @AnupUpadhayaya 2 роки тому +8

    completed whole playlist and worth it more project for this playlist please

  • @minhajulislamapu4644
    @minhajulislamapu4644 2 роки тому +9

    instead of consumer we can also use context.watch( ) . Your efforts deserves love. It would be better if you talk about those methods of provider like context.read( ) , context.watch( ) . what are they ? why and when do we use it ? Just explain all of things in your way. :)

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +6

      More things are in pipeline and are coming your way in order so people can understand it correctly. Thank you for your feedback.

  • @jinroxenplays5302
    @jinroxenplays5302 2 роки тому +1

    the amount of efforts you have put for us to learn flutter,provider and each and everything related to flutter is so much appreciated. i wanna thankyou so so much and i wanna kiss you ummmaahhhhhhhh 😘😘😘😘

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      It i add value please subscribe and share with your friends

  • @RehmanJutt-zo4eg
    @RehmanJutt-zo4eg 3 місяці тому

    thank u so much for information tuturial keep it up asif bhai😍😍

  • @sanjaysingh-kq8wg
    @sanjaysingh-kq8wg 10 місяців тому +1

    Thank you so much bhai keep uploading

  • @liaquatawan8761
    @liaquatawan8761 Рік тому +1

    the code is not working properly in the list of selected items. The widget is building from scaffold not from list view. The number of builds increases after every click in myfavouriteitem screen

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      Please follow the whole playlist, i am sure you must be doing something wrong. User consumer for specific widget building.

  • @MuhammadHamza-ky1qs
    @MuhammadHamza-ky1qs Рік тому

    Mashaaa Allah jee Phenomenal.

  • @irfanganatra537
    @irfanganatra537 2 роки тому +4

    Very helpful video and believe or not..its very simple now to provider just bcz of ur explanation..Love it....but sir. I have a question..in that ListView all items gets rebuild while clicking on single list tile...I have added a random colour to list tile text colour...and when I click on any item all items colour changed..that means entire ListView rebuilds while clicking on single item...how to avoid it...means to prevent rebuilding of other items which is not clicked...I have used this function....Color randomcolor() { }

  • @CreativityOasis
    @CreativityOasis Рік тому +1

    ❤ Amazing bro

  • @LEARNCOMPUTER-ie6pr
    @LEARNCOMPUTER-ie6pr 3 місяці тому

    Love from kohat ❤ I'm a new flutter 😅 My entire software house is watching your video and there are about 70 members

  • @panther5731
    @panther5731 Рік тому

    thanks for giving the insight. I have an observation about list . though logic of index is correct when displaying the list. but it is showing selected item as per previous screen. It should show selected item as selected. May be a logic added to make all items in the list as selected. But then it will then effect while navigating back to previous screen. May be I am wrong in my understanding let me know your opinion.

  • @shaheendevelopers
    @shaheendevelopers 2 роки тому +1

    waiting for more videos :)

  • @WaqasKhan-yj4jz
    @WaqasKhan-yj4jz 2 роки тому +2

    when will you uploading more lectures, we need urgently, and make some provider lectures on api integeration

  • @himu1458
    @himu1458 Рік тому

    jab me apka logic building dekhta hu tab sab samaj atahein but me khud logic building kar nahi pata hu ,logic building ko kese improve karo .From bangladesh . Take Love

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      ap practice karin, aik din ap khud logic build krna sekh jaien gy

  • @brijeshchanda1839
    @brijeshchanda1839 2 роки тому +1

    Sir , When rest of videos are coming? Please Upload ..

  • @panther5731
    @panther5731 Рік тому

    furthermore, instead of using inkwell on container as you have been doing to create buttons and icons, a straight use of elevated button and icon button will require lesser code.

    • @thetechbrotherss
      @thetechbrotherss  Рік тому +1

      Agree, since we are learning so I’m doing I’m sure their other betters ways through which we can do it

  • @AswalAyush
    @AswalAyush 9 днів тому

    Amazing

  • @munirtabassum315
    @munirtabassum315 2 роки тому +3

    First of all thank you bro for making these wonderful lectures.
    And second is that would you like to make series on bloc also in near future?

  • @SystemHacker-o8b
    @SystemHacker-o8b Рік тому

    Awesome Tutorial Sir

  • @mamkeerio
    @mamkeerio 2 роки тому +1

    Amazing series ❤

  • @Amjad_Sajjad329
    @Amjad_Sajjad329 6 місяців тому

    Very nice video.

  • @kalpenvaghela9491
    @kalpenvaghela9491 2 роки тому

    very nice one

  • @AkhtarAli-i5p5k
    @AkhtarAli-i5p5k 5 місяців тому

    just like wow

  • @rajatsaluja653
    @rajatsaluja653 Рік тому

    Sir, favourite item list main listen false kr do, is se widget rebuild hoga and removed item instantly remove hoga and widget rebuild hone se instantly disappear bhi jo jayega .........❤

  • @moeezahmedkhan
    @moeezahmedkhan 6 місяців тому

    Sir boht acha samjhaya.apne.
    but last screen jo apne banai MyFavoriteScreen us me apne ye wali line likhi:
    final favoriteProvider = Provider.of(context);
    yha apne listen: false use nh kia jis ki waja se pora page refresh ho rha h or item remove hote hue dikh rhe hen.
    agr me listen: false use krta hon yha pr tu back pr item remove ho rhe hen but screen pr changes show nh ho rhin jab tk men screen ko back ja ke again MyFavoriteScreen pr nh ata mujhe changes show nh ho rahin.

  • @healthysleep8508
    @healthysleep8508 2 роки тому

    i need help.. when you restart app, the favorite list is gone. how to fix that? i mean i want to keep them in favorite list while restarting/close app and reopen.

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Watch my playlist about hive r sql to save data locally

    • @talhaabbas4535
      @talhaabbas4535 11 місяців тому

      use shared preference to store favorite list and u can keep them even after restart.

  • @utpalgaurav14
    @utpalgaurav14 Рік тому

    Hello,
    I have a unique use case for state management.
    App has a WidgetClass A which can call WidgetClass B, or C or D based on some condition.
    The variable inside the provider class should be initialized (before loading and not after onTap or something) to some value based on which WidgetClass is being called B or C or D.
    For example: if B is called then set the var to 2, if C is called then set the var to 3 and if D is called then set the var to 4.
    If I try to do it in initState(), then it throws this error: setState() or markNeedsBuild() called during build.
    Would you be able to help me here?

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      use binding

    • @utpalgaurav14
      @utpalgaurav14 Рік тому

      @@thetechbrotherss thanks. I would appreciate if you make a video on this. I really like your explanation.

  • @iabdulwahablearning
    @iabdulwahablearning Рік тому

    Helpful! 👌👌

  • @munawerali8045
    @munawerali8045 2 роки тому +1

    sir logic building ky say improved karay is pr ap ek video bana kr samja dy ya muejy is comment pr answer kr dy thanks

  • @mbamusic3570
    @mbamusic3570 7 місяців тому

    Sir getter method use krna kio zroori hai kio k shaid os k bgair bhi kam chl skta hai

  • @Allinone...786
    @Allinone...786 Рік тому

    Hm extends or with class ma kb use krain gy provider ma?? Ya smjha do

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      flutterbyexample.com/lesson/extending-classes-inheritance

  • @arhamjaved7555
    @arhamjaved7555 2 роки тому +1

    JazakAllah bro , you are doing great. Will you start a new serires of realife application clones using provider and nodejs or some api integration in future?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      api integration series is already uploaded on this channel, check its a complete play list with 24 videos. You will love it

    • @arhamjaved7555
      @arhamjaved7555 2 роки тому +1

      Yeah , I have checked that. My next playlist will be that for sure ❤️

  • @waheeb_aqlan
    @waheeb_aqlan Рік тому

    thank you a lot ❤❤

  • @waleedasghar1834
    @waleedasghar1834 Рік тому

    " Local variable 'FavouriteItemProvider' can't be referenced before it is declared " how to solve this error???

  • @kzshaown2091
    @kzshaown2091 Рік тому

    Will it work for list? I mean if wanna send 4-5 string will it work?

  • @nayeemx11
    @nayeemx11 9 місяців тому

    Thank you so much

  • @khubaibirfan9215
    @khubaibirfan9215 2 роки тому +1

    ❤️❤️

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Thank you do like the video and share with your friends.

  • @kartikpatadiya3417
    @kartikpatadiya3417 Рік тому

    not working also your screen, some items can not remove and add

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      Please follow the playlist from start to get the context and carefully listen i have explain this

  • @syedzaingilani515
    @syedzaingilani515 2 роки тому

    sir, please make a detailed tutorial on getx state
    management

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Getx playlist is in plaining phase, it will be out ASAP.

  • @amitjajoo9510
    @amitjajoo9510 2 роки тому +1

    please complete this playlist asap

  • @kalpeshwani231
    @kalpeshwani231 2 роки тому

    Sir please make the e commerce online food ordering app using flutter provider and nodejs mongodb and geo location api for filter the nearest hotels

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +3

      It requires a lot of time to make such a big application and the record the content, i afraid i won't be able to do that but i promise i will teach you concepts that helps you build such application.

    • @khubaibirfan9215
      @khubaibirfan9215 2 роки тому

      Sir pls bnae ga e-commerce app lazmi .pls

    • @khubaibirfan9215
      @khubaibirfan9215 2 роки тому

      Sir your videos content and teaching style is awesome ❤️

    • @kalpeshwani231
      @kalpeshwani231 2 роки тому

      @@thetechbrotherss thank you sir

    • @khabibali4967
      @khabibali4967 Рік тому

      @@thetechbrotherss waiting your promise.😍

  • @amitjajoo9510
    @amitjajoo9510 2 роки тому

    please create series on notification in flutter

  • @abbasali-rn5is
    @abbasali-rn5is 2 роки тому +1

    Greate sir

  • @shanilathiya6933
    @shanilathiya6933 Рік тому

    List view builder item hoti he vo yaad hoti he apko

  • @ankitkumar6988
    @ankitkumar6988 2 роки тому

    Can you provide me a , a course on flutter , I can pay for that, ,plz tell

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      I don't have it but you can go with angela yu coruse on udemy.

  • @ritambasu859
    @ritambasu859 2 роки тому +1

    sir please provide the source code of this video🙏🙏🙏🙏

  • @computerspecialist626
    @computerspecialist626 6 місяців тому

    ur GOAT

  • @akashmukherjee6928
    @akashmukherjee6928 2 роки тому

    If you want right item number on favourite item list then follow this code and don't want to select or unselect the favourite from inside
    Widget build(BuildContext context) {
    final favouriteprovider = Provider.of(context);
    return Scaffold(
    appBar: AppBar(
    title: Text('Favourite Item List'),
    ),
    body: Column(
    children: [
    Expanded(
    child: ListView.builder(
    itemCount: favouriteprovider.selecteditem.length,
    itemBuilder: (context, index) {
    return Consumer(
    builder: (context, value, child) {
    return ListTile(
    title: Text(
    'Item ${favouriteprovider.selecteditem[index]} '),
    trailing: const Icon(Icons.favorite),
    );
    },
    );
    }),
    )
    ],
    ),
    );
    }

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Don’t you think its the same ?

    • @akashmukherjee6928
      @akashmukherjee6928 2 роки тому +2

      @@thetechbrotherss yeah there are some minor changes and when you click on the favourite list page it assigns the same item number as it is in favourite page

    • @akashmukherjee6928
      @akashmukherjee6928 2 роки тому +1

      @@thetechbrotherss Bro your work is just awesome and i am learning from your playlist only . Keep it up😀

    • @armangul2078
      @armangul2078 Рік тому

      thanks for this code its helpful

  • @krishnarai1985
    @krishnarai1985 Рік тому

    void initState() {
    // TODO: implement initState
    homeViewViewModel.fetchMoviesListApi();
    super.initState();
    } . This is getting call everytime i am coming to screen . How can use state value instead calling apI evertyime . I have added tab bar navigation. Once i come to Home tab from other it cal api again . i want to restrict the same. Please suggest

  • @duniyatv3204
    @duniyatv3204 10 місяців тому +1

    ❤❤❤