Flutter Provider Tutorial - Flutter Provider State Management Guide

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

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

  • @WildleTrot
    @WildleTrot 7 месяцев назад

    Approximately i watched 4 videos on flutter but i got understanding how i use it on this video..doing very well thank you and keep it up

  • @MuhammadSalman-y6k
    @MuhammadSalman-y6k 3 месяца назад

    Examples buhat achi hain

  • @Nirajjha1
    @Nirajjha1 10 месяцев назад +1

    I love your teaching style bro! ❤❤❤❤😂😂😂😂😂😂

  • @acornerofherheart-jr9pl
    @acornerofherheart-jr9pl 6 месяцев назад

    searching this for 5 days but u explained in the best way from other videos.... my que is if i'm using provider to set locale in app then should i wrap each page in materialapp and write locale properrty to listen provider variable? and also what is context.watch and context.read ? in provider where to use watch, where to consumer and where to read im so confused

  • @PINAKTILAVAT-j5b
    @PINAKTILAVAT-j5b 25 дней назад

    very helpful but i want that crome theme you use when peter griffin was going down

    • @coderedclan
      @coderedclan  25 дней назад

      i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZWYyZzVpOW11bnExNW5kZTNleWx0M3MyaXkxY3NyeGNmYWo3NzAxayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/96ciETgT883Bu/giphy.gif

  • @RizwanAli-vi2dh
    @RizwanAli-vi2dh 9 месяцев назад

    Good explanation

  • @G_J_Helper
    @G_J_Helper 7 месяцев назад

    Good Brother

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

    very good explanation brother , with phophoo example you make it more easy , one question if we have two or more provider class than what should the syntax and how we can use 2 provider classes in one screen !

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

      just make two variable just on the top of scaffold, MyModel myModel= provider.of(context);
      MySecondModel mySecondModel= provider.of(context);
      Scaffold()
      and same use like Text(myModel.counter.toString()),
      Text(mySecondModel.counter.toString()),

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

      repeat the same way make new file of provider, register it. and just like make an other object in view screen just like i created just above on Scaffold, you make another object for second provider

  • @WildleTrot
    @WildleTrot 7 месяцев назад

    why you are not uploading more videos on flutter please make videos on animation and other core concepts of flutter because your way of understanding concepts is awesome and the main thing is it come into my mind and not go above to head 😄

    • @coderedclan
      @coderedclan  7 месяцев назад

      @@WildleTrot waiting for 1k subscribers dear. Thanks for such kind words mean Alot to me

  • @MohammadKashif-i6i
    @MohammadKashif-i6i Месяц назад

    if you are using provider then why in second screen you are using again set state

  • @ankitsaklani8286
    @ankitsaklani8286 9 месяцев назад

    Sir, why is it necessary to create getter and setter of "int _counter"?

    • @coderedclan
      @coderedclan  9 месяцев назад +1

      when we use getter and setter. it help our variable to listen the value. we are not changing values now we are just listening the value . so This help Ui to update without page build. Moreover here we are doing abstraction if by chance some get the variable he can not change our variable value(security concerns).

  • @nainamoolchandani962
    @nainamoolchandani962 6 месяцев назад

    real Gem

  • @AbuBakar-rk3ih
    @AbuBakar-rk3ih 4 месяца назад +1

    I think that Provider is used to manage state, but from your code, it seems that state is not being managed properly. It appears to be a confusing concept for beginners. It feels like a waste of time.😏

  • @Unknownue8686
    @Unknownue8686 8 месяцев назад

    in screen two you are using setState in floating action button but its not necessary I think

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

    bro i have a question i could be wrong. isnt the purpose of statemanagement also to only build specific widgets not all the widgets in screen, for performance reasons?

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

      performance is just a summary of whole of list of benefits. I also help developer to complete project as soon as possible, more over less number of lines, less time complexity, less space complexity and much more

  • @nik_bagde
    @nik_bagde 8 месяцев назад

    Create same kind of video for bloc too.

  • @innovativeinsite-n1n
    @innovativeinsite-n1n 4 месяца назад

    Why caption it in English and speak Indian? Dah

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

    Phophoo 🤣

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

      ab yaad rhy ga hamesha

    • @BigBrainsz
      @BigBrainsz 6 месяцев назад

      @@coderedclan Exactly! I'm Also Teaching Flutter and loved the way you taught !!