Flutter State Management with Riverpod: The Essential Guide

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

КОМЕНТАРІ • 62

  • @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!

  • @mcdona22
    @mcdona22 20 днів тому

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

  • @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

  • @necipakgz
    @necipakgz 3 роки тому +12

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

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

    by faaar the best Riverpod Tutorial

  • @hectorprx
    @hectorprx 3 роки тому +1

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

  • @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.

  • @vickybhavnagri
    @vickybhavnagri 3 роки тому

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

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

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

  • @socketam4524
    @socketam4524 3 роки тому

    Really like this format of tutorials!
    Thank you!

  • @bjoerndotsol
    @bjoerndotsol 3 роки тому

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

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

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

  • @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.

  • @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

  • @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

  • @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!

  • @coderoykid
    @coderoykid 3 роки тому

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

  • @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.

  • @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?

  • @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.

  • @RandalLSchwartz
    @RandalLSchwartz 3 роки тому

    Excellent!

  • @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?

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

    is that really performant to use ProviderScope for each item?

  • @homamis639
    @homamis639 3 роки тому

    Thank you!

  • @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)

  • @quicksketch1617
    @quicksketch1617 3 роки тому

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

  • @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.

  • @MrRiyality
    @MrRiyality 3 роки тому +3

    Can we get an essential guide for GetX ?

  • @MohamedDernoun
    @MohamedDernoun 3 роки тому

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

  • @djanogly
    @djanogly 3 роки тому

    GOAT

  • @nadeeshkarunarathna1836
    @nadeeshkarunarathna1836 3 роки тому

    super

  • @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 :)

  • @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!👍

  • @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...