Flutter Provider: Introduction

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

КОМЕНТАРІ • 65

  • @muhammadyasser9929
    @muhammadyasser9929 4 роки тому +4

    Thanks Andrea! Kindly complete this series to be a reference for everyone.

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому +3

      New videos will be added weekly ;)

    • @muhammadyasser9929
      @muhammadyasser9929 4 роки тому

      @@CodeWithAndrea Awesome, you can also show some love for my comment (the first comment).

  • @jaisalshah117
    @jaisalshah117 4 роки тому +2

    Thank you for providing this great tutorial.
    Just one request, please provide some tutorials for MVVM Architecture.
    I will always be waiting for new videos on MVVM Architecture.

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

    this is gold

  • @odedzimerman8972
    @odedzimerman8972 7 місяців тому

    Great tutorial !
    It would have been event greater had you left a link to the source code so that I could play around with it.
    Thanks Andrea

  •  4 роки тому +2

    Thanks once more. It is a great update of your excelente course. Waiting for the next video.

  • @SergioArroyoSailing
    @SergioArroyoSailing 4 роки тому

    nice entry to provider! thanks alot!

  • @thomasmabika7291
    @thomasmabika7291 4 роки тому +21

    can you please do a series on architectures...mvp, mvvm etc.

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому +20

      Interesting - this has been requested twice in a day. I'll keep this in mind :)

    • @kirill4531
      @kirill4531 4 роки тому

      @@CodeWithAndrea yes please. The real thing starts when you have couple of screens and each of them should have its own ViewModel.
      And often each view model has a user repository or data repository as a dependency. And you need to access them and handle their changes, also you should change UI correspondingly.
      P.S. thanks to Provider v.3 there are ProxyProvider and ChangeNotifierProxyProvider which do the nesting dependency.
      But we need a solid example of how it should be built nice and clean

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

    great tutorial! really good for us beginners ! towards the end you really did give us a glimpse of how high the mountain goes :)

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

      Yeah! Its great! You should also check this video over Provider😁 ua-cam.com/video/hRStAmkTcJY/v-deo.html

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

    I watched a lot of videos this made me click! Good work

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

    Hey, It was a nice tutorial for understanding Flutter Provider Package. How to access the flavor state where will not have access to context, say in the network manager wrapper which decides the base URL based on the flavor we are running.

  • @freeflutterresources9109
    @freeflutterresources9109 4 роки тому

    Hope to get more videos on flutter on daily basis

  • @mwont
    @mwont 3 роки тому +2

    Thanks for the course. Any chance for its update? Current provider is in version 5 now (3 in your vid), and some things have changed, such as it is no longer recommended to use `Provider.value`.

  • @Sasuke-zv4ro
    @Sasuke-zv4ro 4 роки тому

    Good explanation 👍

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

    for an intro it could have been a simpler provider, interesting although the flavors, thanks

  • @kazimahfuzur7391
    @kazimahfuzur7391 4 роки тому

    Thanks
    Waiting for the next video

  • @AjmalJalalajmal
    @AjmalJalalajmal 4 роки тому +1

    Hi Andrea, I am one of your students in Udemy as well. I completed the course there and now I am here based on your recommendation to checkout this flutter provider course on UA-cam. I liked your videos and tutorials. Congratulations and please keep up the good work.
    I have a request though. I developed a Flutter mobile app with firebase as a backend service. It is a social media app that really needs realtime data flow. I used streambuilder but the problems is that I could not find a solution for pagination with streambuilders in flutter and this makes streambuilders very hard to use for pagination and realtime data flow at the same time. Do you mind making a video on pagination with streambuilders using firebase. It will help, not only me but, a bunch of other developers that are looking for a solution.
    thank you

  • @ankitgupta-iz3sc
    @ankitgupta-iz3sc 4 роки тому

    Thanks !!!!!!!!!!
    waiting for next................

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

    well explained but example is not comprehensible for most of us state management noobs, We are watching this as probably the "second video" to get in State management, by that aspect this could have been little easier to understand. especially by changing from "flavor" thing example. Thanks anyway. I've seen your other videos, all helped a lot.

  • @TonTruong
    @TonTruong 4 роки тому

    Thanks for share, really help me alot.

  • @prashantvani8416
    @prashantvani8416 4 роки тому +1

    Can you make a video regarding, how to fetch data from restapi using provider pattern in flutter ?

  • @alvinvin00
    @alvinvin00 4 роки тому

    just what i need, thank you

  • @sadabwasim9850
    @sadabwasim9850 4 роки тому

    Great 😊👍

  • @izzy-cs6fu
    @izzy-cs6fu 4 роки тому +1

    please can you do a video on code structures, design patterns, architectures etc.

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому +1

      That's an interesting request. That could be the content for an entire course. Have you looked for videos/courses on this topic? What's missing in your opinion?

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

    what on earth is flavors and why do we need 3 entry points? Newbie here please explain.

  • @benmarcus2577
    @benmarcus2577 4 роки тому

    if we send a different context what would happen??
    as in
    final flavor = Provader.of("SOME OTHER CONTEXT");
    would we be looking in a different widget tree??
    thanks so much

  • @YasinIlhan61
    @YasinIlhan61 4 роки тому +1

    Hi Andrea, it would be amazing series.. After Provider series do you have plan about Isolates series ?

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому

      Not planned at the moment. The Flutter team already published some great tutorials about isolates.

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

    Is it up to date to the latest release of provider and flutter?

  • @mimo2202
    @mimo2202 4 роки тому +1

    Hi what is the name of that program of widget tree visualization in 03:11? thank a lot

  • @chat-24
    @chat-24 3 роки тому

    the provider itself is complicated for beginners like me and adding flavor makes it even complex, the flavor thing can be skipped for sake of simplicity

  • @LikeLuluLikeLulia
    @LikeLuluLikeLulia 4 роки тому

    Hi, Andrea, I noticed in the official provider package ReadMe, it says DON'T use Provider.value to create your object, and I don't understand, is there update for your provider video? thank you!

  • @ShresthaSujal
    @ShresthaSujal 4 роки тому

    Which VS code extension have you used for showing up the trees like lines for indentions and blocks of codes?

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому

      Try setting "dart.previewFlutterUiGuides": true in "settings.json".

  • @Milan-Jadav
    @Milan-Jadav 4 роки тому

    🔥

  • @kelvintechlab
    @kelvintechlab 4 роки тому

    Can i use this method to sign in different users to different home screen ? example you could login as an admin or user, both have different home screens how can i solve this issue with flutter. and how do i let the user stay logged in to a particular home screen. please can anyone help me.

  • @fredrichgaming9193
    @fredrichgaming9193 4 роки тому

    thank you for video, but if anyone want to use no Flavor, what about that?

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому

      Then don’t use it :) This was just an example showing how to provide value in the widget tree.

  • @aayasir217
    @aayasir217 7 місяців тому

    Can I learn it now? Or provider is updated ?

    • @ISOLATED_MAN_
      @ISOLATED_MAN_ 4 місяці тому +1

      dude same doubt

    • @aayasir217
      @aayasir217 4 місяці тому +1

      @@ISOLATED_MAN_ Learn from an updated source. I have learned it.

    • @ISOLATED_MAN_
      @ISOLATED_MAN_ 3 місяці тому

      @@aayasir217 thx bro..

  • @easazade
    @easazade 4 роки тому

    can you share the theme you use for vscode?

  • @dhruvkelawala960
    @dhruvkelawala960 4 роки тому

    What is the VSCode theme that you are using?

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

    Hi, your Udemy courses are amazing I have just seen demos.
    I have a request to you I am a student and I can't afford to buy courses in this case I need your help please 🙏l

  • @WorstDeveloper
    @WorstDeveloper 4 роки тому

    What if you need 50 different providers? Do you need 50 widgets in the root?

    • @CodeWithAndrea
      @CodeWithAndrea  4 роки тому

      Provided that you’re happy to have them accessible by all widgets, yes you can put them inside a MultiProvider.

    • @WorstDeveloper
      @WorstDeveloper 4 роки тому

      @@CodeWithAndrea okey, thanks. I'm looking for something like Vuex (state manager for Vue). Where you have a single globally accessible store that holds the state and the methods used to mutate the state. Whenever the state is mutated, all subscribers to it gets the updated state. I would like to not subscribe to the state inside of the widget tree, because that seems like a pretty bad design choice to me. It couples data with UI too hard. Sometimes you need to do computations on the data first before triggering a re-render. I've heard about redux, but it still seems like you have to subscribe to state changes with widgets. Got any ideas?

  • @bascelik91
    @bascelik91 4 роки тому

    What is the VS COde theme?

    • @anujbarve
      @anujbarve 4 роки тому +1

      The theme is Dracula

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

    So why do you take something simple and use a difficult example?

  • @zuherabud744
    @zuherabud744 4 роки тому

    i came here to know about provider i thought flavor is some type of example you used for a recipe app or food app only to find out that its a concept in flutter you didnt explain why we need to use provider in the first place is it soo important is it a good alternative or its a must to know widget these kind of stuff please.................... dont just start making projects without telling us why .......you know your stuff but you can do better wit explaining

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

    This should've been a provider specific tutorial, there was no need to implement flavors or complicate it by creating multiple main.dart files.

  • @Adaministrator
    @Adaministrator 4 роки тому +2

    seeing on the v4+ Provider release pages now:
    "DON'T use Provider.value to create your object.
    ChangeNotifierProvider.value(
    value: MyModel(),
    child: ...
    )"

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

      @Adam Rudd If I am trying to use ChangeNotifierProvider in place of Provider.value in v4.+, I am getting an error which says 'Flavor' doesn't extend ChangeNotifier'
      ChangeNotifierProvider.value(
      value: Flavor.dev,
      child: MyApp(),
      ),

  • @danchatka8613
    @danchatka8613 4 роки тому

    May I suggest removing all the boiler plate comments from the files you use in your tutorial? Those comments are not related to your tutorial. The comments cause you to waste time to scrolling around the file. The comments interfere with letting the viewer see the important code you add.