#flutter

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • It's been over a year since Riverpod 2.0 was released, and I've been a bit stuck in my old ways. This video will show you how to update your old Riverpod patterns to the newer, cooler way using build generators.
    Shout out to ‪@Rand‬‪@RandalOnDartAndFlutter‬ for his help seeing things clearly!
    This is, in part, a follow-up to my recent video series but also works as a standalone video.
    Previous Series:
    • Networking & State Man...
    Source Code:
    github.com/tylersavery/flutte...
    This video was inspired by the content in this presentation:
    • RiverPod 2 0 Update
  • Věda a technologie

Komentáře • 10

  • @TylerCodes
    @TylerCodes  Před 5 měsíci

    As pointed out below, it's best you install riverpod_lint and riverpod_generator as dev dependencies. You can do this either by updating your pubspec OR when you run the command, add "-d" to the flutter pub add command. Thanks!

  • @johnalejandrogarciaarias9756

    Very useful video. Thanks Tyler, I've been searching this kind of content several days ago.

  • @Robbley-sr2wy
    @Robbley-sr2wy Před 2 měsíci

    First of all, a major 'Thank you' for this tutorial. It is exactly what i was looking for regarding the codeGen in riverpod. Beeing in the early stage of using riverpod, seeing a lot of other tutorials sticking to the old way of building providers, felt inefficient after having read through the documentation. Your way of explaining things really enhanced my understanding. After watching this video 2 times, i started digging for more of your tutorials and it just keeps maintaining the great quality.
    Just commented to leave some warmhearted feedback for your great work :)

    • @TylerCodes
      @TylerCodes  Před 2 měsíci

      Thanks for the very nice comment. Appreciate the support!

  • @Hachiii1234
    @Hachiii1234 Před 5 měsíci

    Nice!, looking forward to your next video related to riverpod generator !

  • @RandalLSchwartz
    @RandalLSchwartz Před 5 měsíci +2

    at 04:48: two of the three packages you added should be added --dev, as they are needed only as dev dependencies.

  • @RandalLSchwartz
    @RandalLSchwartz Před 5 měsíci

    Thanks for the shoutout!

  • @BooleanDev
    @BooleanDev Před 5 měsíci

    you might want to look into removing the background noise in the future, its pretty easy to