7 Common Flutter Providers Explained

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • We describe what are Provider, Provider.value, Future Provider, Stream Provider, Multi Provider, Proxy Provider and ChangeNotifier Provider.
    📣 Check out NEW Provider courses - learnfluttercode.com/courses/...
    🔥 Check out our other courses -
    ⏰ Timeline:
    00:00 - Introduction
    02:59 - Provider
    06:21 - Provider.value
    07:07 - Future Provider
    08:21 - StreamProvider
    09:17 - MultiProvider
    11:07 - ProxyProvider
    14:57 - ChangeNotifierProvider
    18:19 - Summary
    👉 Subscribe to our weekly Flutter newsletter:
    learnfluttercode.com/newsletter
    📱 Pre Sign Up to Learn Flutter App :
    learnfluttercode.com/app
    Check out our website - learnfluttercode.com/
    🖼 Learn Flutter Code Instagram:
    / learn.flutter.code
    🖼 Learn Flutter Code Facebook:
    / learn.flutter.code
    Haris's LinkedIn - / muhammad-haris-bin-sam...
    Haris's Twitter - / thehappyharis
    ⏰ Timeline:
    00:00 - Introduction
    02:59 - Provider
    06:21 - Provider.value
    07:07 - Future Provider
    08:21 - StreamProvider
    09:17 - MultiProvider
    11:07 - ProxyProvider
    18:19 - Summary
  • Věda a technologie

Komentáře • 46

  • @UsamaKarim
    @UsamaKarim Před 3 lety +8

    It's was really a tutorial for a 5-year child. Thanks for making it very easy. Very knowledgeable

  • @johndzikunu9986
    @johndzikunu9986 Před rokem

    The best on the internet.

  • @tudo925
    @tudo925 Před 11 měsíci

    OMG this is really an extremely complete and detailed tutorial, it is save my day

  • @abbaadamu3927
    @abbaadamu3927 Před 3 lety +4

    Guy na God go bless you thanks a million for this, other CZcamsr provider tutorials online assume that you're super smart and hit you with too much information but you laid this out nicely for the not so smart developer like me 😅🤗🔥 thank you sir

  • @navaneethanthangaraj1866
    @navaneethanthangaraj1866 Před 3 lety +1

    Much Needed one for Me

  • @ajoco99
    @ajoco99 Před 2 lety

    Great tuto dude. you site is unreachable from Brazil

  • @eroo36
    @eroo36 Před 3 lety

    Really well explained!

  • @CaspianStudio
    @CaspianStudio Před 3 lety

    Easy to understand explanation! TQ

  • @user-or7ji5hv8y
    @user-or7ji5hv8y Před 3 lety

    this is very clear explanation.

  •  Před 2 lety

    Awesome! Congrats from Brazil!

  • @fluttterdev1k
    @fluttterdev1k Před rokem

    thanks bro

  • @mohsenzahabipour40
    @mohsenzahabipour40 Před 3 lety

    Great job men. Thanks.👍

  • @bohdan8557
    @bohdan8557 Před 2 lety

    Such a simple and cool explanation!) Thanks from Ukraine

  • @codaq4043
    @codaq4043 Před 2 lety

    This single video helps you go from beginner to intermediate

  • @saliouseck4263
    @saliouseck4263 Před 3 lety

    thx very much

  • @prasantkumar7693
    @prasantkumar7693 Před 3 lety

    Thanks man!

  • @mruduladdipalli5417
    @mruduladdipalli5417 Před 3 lety

    Superb

  • @JJ-fq3dh
    @JJ-fq3dh Před 2 lety

    For state, i just use a global class and put everthing in there , then callbacks for all events passing value . Simple, easy for small projects. Have not needed a state management system yet . Works across multiple screens

  • @hurolinci5986
    @hurolinci5986 Před 3 lety

    Good video. How can it be that the name variable gets changed in the Provider example even though it's declared final?

  • @rohitv3955
    @rohitv3955 Před 3 lety +2

    Just the tutorial I was looking for, thanks! And can I know the name of that VSCode extension to highlight errors on the line itself? That would be a pretty useful extension for me to have.

  • @Mark-mo4bo
    @Mark-mo4bo Před 3 lety +1

    Your website to your course is not working.

  • @abdallahhussein5997
    @abdallahhussein5997 Před 2 lety

    I can't find link in the description

  • @harshkumaryadav3285
    @harshkumaryadav3285 Před 2 lety

    If we want multiple strings to return through provider ??

  • @harshakuruwita339
    @harshakuruwita339 Před 3 lety +1

    Can you share course with udemy with certificate , for add it it linkdin and all

  • @Ali-cb3xt
    @Ali-cb3xt Před 3 lety +1

    👍👍👍🔥🔥🔥

  • @abhishekbhambure5146
    @abhishekbhambure5146 Před 3 lety

    ListenableProvider and ValueListenableProvider is missing can you include it too ,Thanks for this video.

    • @LearnFlutterCode
      @LearnFlutterCode  Před 3 lety

      I don't know if they are common. I will take note on this.

  • @osamaa.abdelnasser1184

    I want to see all files for each example to understand the code, is there a github link?

  • @rahul9118
    @rahul9118 Před 3 lety

    Is the course in Udemy?

  • @UsamaKarim
    @UsamaKarim Před 3 lety

    I am getting an error on ChangeNotifierProvider example that onPressed I have to make listen property false. But it's not giving you any error

    • @abhishekbhambure5146
      @abhishekbhambure5146 Před 3 lety +1

      Its because final example = Provider.of(context);
      is called from inside the build method and hence it requires listen property: false , like final before = Provider.of(context, listen: false);
      Starting from version 4.1.0 there are some shortcuts you can use to reduce the boilerplate code
      required for common actions. The library introduced two new extension methods you should
      prefer over the classic verbose way:
      // Default provider (with listen: true)
      final before = Provider.of(context);
      final after = context.watch();
      // Non-listening provider (with listen: false)
      final before = Provider.of(context, listen: false);
      final after = context.read();
      I recommend Flutter Complete Reference book , it will clear all your doubts

    • @UsamaKarim
      @UsamaKarim Před 3 lety

      @@abhishekbhambure5146 That's awesome explanation 😍

  • @zhengen
    @zhengen Před 3 lety

    Link to payment is broken for the course

    • @LearnFlutterCode
      @LearnFlutterCode  Před 3 lety

      Here is the link: sso.teachable.com/secure/805788/checkout/2902484/flutter-provider-state-management

  • @anuoluwabadmus7207
    @anuoluwabadmus7207 Před 2 lety

    Pls send github link.

  • @Rogueixpresents
    @Rogueixpresents Před 2 lety

    whats ur purpose? explain provider :p

  • @saliouseck4263
    @saliouseck4263 Před 3 lety

    Hello thank's for the video it was helpful
    Can i see "getUsername() returning Future" code I have problem to test your code locally