Flutter Riverpod EASY Tutorial

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

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

  • @saurabhraturi7940
    @saurabhraturi7940 7 месяцев назад +20

    Their are many providers in riverpod but you used the one that even riverpod said not to use

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

      Please share with us what is wrong, what should be done instead, and why. I'm willing to make it right if it's not. 👍

    • @JulianRosental-mh7im
      @JulianRosental-mh7im 7 месяцев назад +10

      The Riverpod docs have two migration guides, one for each StateNotifier (rather new that it is discouraged)and ChangeNotifier (discouraged since a long time, only meant for easy migration from provider). Instead of StateNotifier and ChangeNotifier, Notifier or AsyncNotifier should be used.

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

      @@FlutterMapp Using ChangeNotifierProvider is discouraged by Riverpod and exists primarily for:
      -an easy transition from provider
      -supporting mutable state, even though immutable state is preferred

    • @mazharsalam3144
      @mazharsalam3144 6 месяцев назад +3

      RUclipsrs copy/remake from other videos, end up using legacy codes.

    • @BhardwajHackology
      @BhardwajHackology 13 дней назад

      @@FlutterMapp hey are you planning to make an updated tutorial on Riverpod using the recommended approach?

  • @charithasds
    @charithasds 7 месяцев назад +12

    Hi, thanks for the upload 🤩 but I guess we could do a lot more with Riverpod. If you refer to ChangeNotifierProvider documentation, it says:
    Using ChangeNotifierProvider is discouraged by Riverpod and exists primarily for:
    - an easy transition from package:provider when using its ChangeNotifierProvider
    - supporting mutable state, even though immutable state is preferred
    Also maybe you can cover provider generation too using @riverpod annotation.
    On top of it all, can we have another updated video/course on Clean Architecture with actual CRUD operations (with Sqflite and/or Firestore) and Riverpod. I guess it's a need with 99% of all RUclips tutorials cover bloc 😇 This is a humble request from a huge fan of your content.

    • @FlutterMapp
      @FlutterMapp  7 месяцев назад +5

      Thanks for the video correction! That's how we learn and improve for the future! Keep it up 🔥

  • @ashiqulkarimchowdhury8668
    @ashiqulkarimchowdhury8668 7 месяцев назад +8

    very straight forward , easy to understand and To the point

  • @RianY2K
    @RianY2K 7 месяцев назад +2

    I think it's riverpod more complicated than cubit bloc,

  • @essienjeremy7126
    @essienjeremy7126 7 месяцев назад +4

    This was insightful and very easy to understand, thanks.

  • @saiphaneeshk.h.5482
    @saiphaneeshk.h.5482 7 месяцев назад +1

    Nice tutorial.
    But doesn't the Riverpod tell to avoid ChangeNotifier?

  • @JSL180
    @JSL180 7 месяцев назад +2

    Brilliant and clear guide to start replacing provider package for example, thanks. Still, state and changenotifier should not be used, instead it is better to use code generation to implement more complex and useful types of providers as the documentation suggests.

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

      read the title of the video, code generation is not easy beginners staff

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

      ​@@oswaldoolea2889 This tutorial is valid as reference and fast migration, but on new applications you should use code generation, just pointing what the actual documentation says.

  • @tomcat1262
    @tomcat1262 7 месяцев назад +1

    Next bloc and cubit😄

  • @pixobit5882
    @pixobit5882 5 месяцев назад +1

    Thank you for this tutorial, it helped me so much understanding riverpod!

    • @pixobit5882
      @pixobit5882 3 месяца назад

      Update: I've switched to Provider. It is easier to think in Widgets than it is to think in listening or reading or whatever

  • @cyborg244
    @cyborg244 4 месяца назад

    Beautifully explained. I was able to understand it perfectly and made the necessary changes to my app. Thank You

  • @mohamedebrahim3090
    @mohamedebrahim3090 3 месяца назад

    👏👏👏👏

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

    as of now rivepod a lot has changed .... imagine having a build method in business logic.

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

    Oh dear, You explain it very well ! Can you please make it in Bloc?

  • @PRO-to7il
    @PRO-to7il 6 месяцев назад

    Please make a video on flutter sqflite CRUD operation

  • @srskipperchiq
    @srskipperchiq 2 месяца назад

    Broooooooo!!! Thank you a lot. Finally understand riverpod

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

    watch, read?
    thats funny.
    why not use the word set and get like any state management in js

  • @Jacobizhao
    @Jacobizhao 3 месяца назад

    very good and clear, i hope your english is better

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

    great video, thanks. Question: in a DDD architecture the riverpod_model.dart file will go into the data or domain folder ?

  • @SaeedGamal-ph4vk
    @SaeedGamal-ph4vk 4 месяца назад

    I liked your way simplifying riverpod.

  • @jihedbouchnak
    @jihedbouchnak 3 месяца назад

    Epic tutorial by all means

  • @SubhasishDas-r5o
    @SubhasishDas-r5o 6 месяцев назад

    Please make a video about flutter hooks

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

    Hmm, what an unnecessary state manager

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

    AI Text to Speech Flutter Full App

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

    out of date

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

    The best answer five stars

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

    deprecated providers

  • @ImranSiddiquiClasses
    @ImranSiddiquiClasses 5 месяцев назад

    Great Explanation Thank you.

  • @EnmanuelToribio
    @EnmanuelToribio 2 месяца назад

    You are a saint! ❤

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

    Not up to date!

  • @massi5417
    @massi5417 5 месяцев назад

    T’es Québécois?

  • @ManmaySakib
    @ManmaySakib 5 месяцев назад

    Was so helpful.

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

    Very good video... can you made same video with most engaged riverpod's providers, please? l

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

      Humm, can you elaborate the request please, I'm not sure to understand? Thank you

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

      ​@@FlutterMapp
      Can you create a video, or serie... to explain how to use (and why) and DIFFERENCE between:
      _StateProvider and StateNotifierProvider
      or
      _AsyncNotifierProvider
      How and when is better to use that...
      is important create simple and very clear case of study (from scratch!!!!!).
      Tell you this because i have this issue when i just started to learn in existing tutorials about Riverpod.
      For me is very important "from scratch", because i can try to "enter" in your mind and understand how you think about creating things.
      Is not important good UI here, tree simple data to receive or listen it's enough
      ThankYouVeryMuch

  • @randomusername982374
    @randomusername982374 7 месяцев назад +1

    This is just the basics.... you need to cover future and stream providers as well for beginners.

  • @glrbrasil
    @glrbrasil 7 месяцев назад +1

    Could you do a similar video with code generation? I’ve mostly used riverpod like you were showing here, but since the code gen version is the most likely to stay long term it would be nice to see more examples using it. Thanks!

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

      In the video description, you have 2 practical exercises. Is this what you meant?

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

      Okay, after reading further comments, I think you were referring to the riverpod_generator dependency, right?

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

      @@FlutterMapp I’m referring to using build_runner to creste annotated providers, but probably this depends on this package you mentioned, I’d check the official docks just to be sure.

  • @wkjames409
    @wkjames409 7 месяцев назад +1

    Great explanation. Made it simple for me.

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

    Thats briliant tutorial! Thanks man. Can't wait for bloc EASY tutorial

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

    Hello, I bought the Zero To Hero course and I noticed there is an updated one may you please switch me to the updated one. I messaged you on discord but no response

    • @FlutterMapp
      @FlutterMapp  7 месяцев назад +1

      Just replied to you on Discord 🔥