Flutter State Management with Riverpod: The Essential Guide

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

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

  • @mcdona22
    @mcdona22 6 дней назад

    There are many good content contributors. Andrea is right up there with the very best

  • @andenetalexander5244
    @andenetalexander5244 3 года назад +6

    By far the best riverpod tutorial Andrea you're the best!

  • @whitemagehealing8126
    @whitemagehealing8126 2 года назад +2

    This is great! Thank you so much for explaining WHY riverpod was made (i.e. showing a real example of the drawbacks with a diagram) It helps a lot in design decision-making!

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

    by faaar the best Riverpod Tutorial

  • @rydmike
    @rydmike 3 года назад +6

    A Very complete run-through of Riverpod. Excellent tutorial, my new go to reference for looking up any Riverpod use case scenario. Outstanding job Andrea! 💙
    To others watching, ChangeNotifierProvider is skipped a bit, and indeed do prefer and use StateNotifierProvider instead. However, ChangeNotifierProvider is great if you are converting a Provider app to Riverpod and have used it there. You can then start with it, your model classes then remains unchanged and later you can convert them to StateNotifierProvider, if you find it beneficial.

  • @tameflame1229
    @tameflame1229 3 года назад +2

    Amazing job with this video, a great summary of riverpod, I've been using it for a while now and this is a great refresher on the more advanced stuff

  • @furkanvatandas4819
    @furkanvatandas4819 3 года назад +1

    That is a very useful guide for researching Riverpod after BLoC.

    • @whorudra
      @whorudra 3 года назад +1

      Thanks Furkan. I showed your post on discord and came here directly.

  • @hectorprx
    @hectorprx 3 года назад +1

    Very well done, the written tutorials really bring it all together. Thanks and all the best

  • @abdulwahabkhan4316
    @abdulwahabkhan4316 2 года назад

    Great .... That was very well explanation in very shot time... 👍👍👍

  • @vickybhavnagri
    @vickybhavnagri 3 года назад

    Thank you so much Andrea. Was eagerly waiting for this tutorial. As always, in-depth, and very production ready. :)

  • @realmex6690
    @realmex6690 2 года назад

    Thanks for sharing your wonderful knowledge. It's really worth appreciating 👏

  • @bjoerndotsol
    @bjoerndotsol 3 года назад

    Very good! Esp. the hints when to use something are great. It really fills the gaps :)

  • @socketam4524
    @socketam4524 3 года назад

    Really like this format of tutorials!
    Thank you!

  • @necipakgz
    @necipakgz 3 года назад +12

    I hope you do a getx tutorial like this, many of us waiting for that :)

  • @ajaykotiyal427
    @ajaykotiyal427 2 года назад

    So Good Explaination.

  • @ezone2726
    @ezone2726 3 года назад +1

    Awesome tutorial👌👌
    If possible please make a tutorial of some widgets like switch,snackbar, popup menu,textfield, alert dialog slider as to manage the state management through flutter_riverpod.
    #thankyou #flutter #happycoding

  • @waelhi8938
    @waelhi8938 3 года назад +1

    Great in depth tutorial as always! Thank you!
    Btw, while following your video i encounter some error on LATE keyword. its says :
    'unexpected text late, try removing the text.'
    but when I remove the LATE keyword, it shows a lot of errors.
    I just copied the code in your written tutorial.

  • @kenmmita346
    @kenmmita346 3 года назад

    Great tutorial

  • @RandalLSchwartz
    @RandalLSchwartz 3 года назад +1

    At 17:16, should note that the custom data class needs a deep-equals, not an object-identity equals. Same with the Map... needs to be immutable.

  • @delmanali4863
    @delmanali4863 2 года назад

    Plz do more totrial with Riverpod firebase stateNotifier thanks

  • @agung_laksana
    @agung_laksana 3 года назад

    Andrea, please make a complete course using riverpod 😄

    • @CodeWithAndrea
      @CodeWithAndrea  3 года назад +1

      My upcoming animations course will use Riverpod nnbd.me/fa

  • @RandalLSchwartz
    @RandalLSchwartz 3 года назад

    Excellent!

  • @zhangkevin8147
    @zhangkevin8147 10 месяцев назад

    I have a question about riverpod. I am in home screen and I click button jump to login screen after login success then I back to home screen and get unread message count how can I do. Thanks!

  • @homamis639
    @homamis639 3 года назад

    Thank you!

  • @coderoykid
    @coderoykid 3 года назад

    Are you using the auto-type or HackerTyper VS Code extensions to type?

  • @jimaustin3608
    @jimaustin3608 3 года назад

    The streamAsyncValue axample (inMyHomePage3) shows only the last value on the screen; I assume the rest go by too fast to see. How can I 'catch' and display the entire stream?

  • @7mada89
    @7mada89 3 года назад

    Hi Andrea good to have you back.
    I have a stupid question 😅
    If I use ScopedProvider redundancy for every widget I have (by map or object) to make all my widgets constant would this be good or bad.

  • @whorudra
    @whorudra 3 года назад

    Now I can say I understand Riverpod.
    still have some more doubt like , I am from React background I use prefer using funcitonal component, hooks and context api. So in context api provider we can assign provider value some object in one provider so that it can have values in object. So how do I get this behaviour in Riverpod?(I know it has riverpod_hooks)

  • @tell_me_what
    @tell_me_what 3 года назад +1

    Hi Andrea, I watched your video and it was very instructive. Thanks for your work. By the way my feeling, having worked in production projects with GetX state management, is that GetX is always one step ahead of any other state management. What do you think about that? Have you ever tried it?

    • @CodeWithAndrea
      @CodeWithAndrea  3 года назад +6

      Various people in the Flutter community have not been positive about the attitude and conduct of the package maintainers. Personally I haven't used it and not planning to.

    • @leoingson
      @leoingson 3 года назад

      @@CodeWithAndrea Thanks for that information. I always wondered, why there are not many instructional videos on getx in the community.

    • @stefandv23
      @stefandv23 3 года назад +1

      @@CodeWithAndrea this is a bit old news. One year ago there was an issue. One year later people still are talking about it. Too bad.

    • @pranthonyaquino
      @pranthonyaquino 3 года назад

      Sadly true, Stefan, getx is amazing.

  • @MrRiyality
    @MrRiyality 3 года назад +3

    Can we get an essential guide for GetX ?

  • @AliMuhammadAli
    @AliMuhammadAli 3 года назад +2

    this format of videos is not beginners friendly.
    it assumes that the viewer is already familiar with the subject and he is only looking for the new changes

    • @theophileo
      @theophileo 3 года назад

      not everything is beginners friendly tbh i don't see the point of your comment ...

  • @faisalmushtaq2287
    @faisalmushtaq2287 3 года назад

    when i try to read some data from FutureProvider and place it inside a stateprovider i get error something like "INSTANCE of ERROR!". i researched alot but invain. Could u help me?

  • @joegoodman4358
    @joegoodman4358 3 года назад

    Excellent tutorial Andrea! however in my code, the onChange callback on the ProviderListener example isn't working. Could you please help me?

    • @joegoodman4358
      @joegoodman4358 3 года назад

      Nevermind, it was something stupid xD

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

    is that really performant to use ProviderScope for each item?

  • @djanogly
    @djanogly 3 года назад

    GOAT

  • @quicksketch1617
    @quicksketch1617 3 года назад

    Hi, do you have this MovieApp tutorial with riverpod? I think it's a good example to understand riverpod.

    • @CodeWithAndrea
      @CodeWithAndrea  3 года назад

      Link to the GitHub project in the article

  • @nadeeshkarunarathna1836
    @nadeeshkarunarathna1836 3 года назад

    super

  • @RioM8z
    @RioM8z 3 года назад +1

    Is Riverpod better then GetX ? GetX is maybe too simple ??

    • @RandalLSchwartz
      @RandalLSchwartz 3 года назад +1

      That's a religious issue. But I certainly prefer RiverPod.... it just makes everything easy and straightforward, but leaves a lot of room for flexibility. Remi hit a home run on this.

  • @MohamedDernoun
    @MohamedDernoun 3 года назад

    After introducing the web to stable, I think we no longer need an emulator that kill the RAM :D

  • @sharukhrahman7925
    @sharukhrahman7925 3 года назад +1

    1. Bloc vs riverpod and when and where to use.
    2.How r u getting error on the side while typing?😂

    • @CodeWithAndrea
      @CodeWithAndrea  3 года назад +2

      1. Honestly, they are both great state management solutions that will work for simple and complex apps. Choose whichever you prefer.
      2. Error lens extension

    • @sharukhrahman7925
      @sharukhrahman7925 3 года назад

      @@CodeWithAndrea thanks for providing the Best content btw!👍

  • @erlend1587
    @erlend1587 3 года назад

    Nice guide. Have you tried Binder (github.com/letsar/binder) ? A more minimal state handling package inspired by Riverpod.

    • @CodeWithAndrea
      @CodeWithAndrea  3 года назад +1

      Thanks for sharing. So many packages! I'll take a look :)

  • @banglafactsteller6780
    @banglafactsteller6780 3 года назад

    what is 'late ' keyword!!!!!!!!!!

  • @pradeep422
    @pradeep422 3 года назад

    is it weird, I still like Provider than this lol????

    • @pradeep422
      @pradeep422 3 года назад

      kk i will take it bak hehe...