Flutter Multi Provider Simply Explained

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Flutter MultiProvider explanation
    👉 Pre Sign Up to Flutter Learning Platform :
    learncodecode.com/fluter-lear...
    🔥 Check out my courses - zukunf.com/courses
    🎨 Source code:
    pub.dev/documentation/provide...
    ⏰ Timeline:
    00:00 - Introduction
    02:07 - How to solve 2 Providers with same type
    04:31 - Summary
    🦋 Hear my thoughts on Twitter -
    / thehappyharis
    📷 Get updates frequently on Instagram -
    / thehappyharis
    🤓 See daily learnings on LinkedIn -
    / muhammad-haris-bin-sam...
    😂 Watch my funny side on TikTok -
    / thehappyharis
    📘 Rarely here, but why not Facebook:
    / happy-hilarious-haris-...
  • Zábava

Komentáře • 24

  • @GfoxSim
    @GfoxSim Před rokem +2

    You're essentially the best teacher on CZcams and I'm saying this with confidence. You make learning fun and interactive and you keep students engaged. Keep it up. I like your channel.

  • @leonvanrijswijk8409
    @leonvanrijswijk8409 Před 4 lety +4

    Thx. Next ProxyProvider 3 levels deep?

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

    "If you want more very short videos"... then the nextr ecommended video ind the endcard is "10 Flutter Apps in 10 hours" :-)
    Thanks for the good videos!

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

    Thanks, best explanation

  • @auliasabril1899
    @auliasabril1899 Před 2 lety

    thank you. Very clear explanation

  • @poyrazaktas6374
    @poyrazaktas6374 Před 2 lety

    Very good explanation!

  • @saliouseck4263
    @saliouseck4263 Před 3 lety

    It was helpful thank 's very much

  • @studykiya397
    @studykiya397 Před 2 lety

    Good explanation man ❤️

  • @uxninja7629
    @uxninja7629 Před 3 lety

    very helpful

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

    Bro need more video about provider. Now it's little bit clear but I wanna know advance provider like future and many more.

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

      I have a playlist on providers: czcams.com/play/PLgG0-B2KlM1sr3MRmqaV2tVKJf_7Zk7f3.html

  • @Yusuf-rh6sj
    @Yusuf-rh6sj Před 3 lety +1

    awesome

  • @kennyetienne1386
    @kennyetienne1386 Před rokem

    Just find out m still a child😂!thanks man

  • @mahmudaslani4598
    @mahmudaslani4598 Před 3 lety

    really good and simple

  • @ravilakhtariya6322
    @ravilakhtariya6322 Před 3 lety

    hi i get very helpful...but how can i changed after new screen call chagnge notifier with provider using mvvm
    for example
    i am creating one screen and calling api and getting response like lists...after click on one item from list
    i want to call new screen and want to call new api to get different data list in
    so how can i change notifier?

  • @g46psk
    @g46psk Před 2 lety +1

    how many providers can be used within a multiprovider?

  • @mrwalkan
    @mrwalkan Před 2 lety

    QUALITY CONTENT

  • @ZiosNeon
    @ZiosNeon Před 4 lety +1

    Do you like provider instead of other state managment solutions better?

    • @LearnFlutterCode
      @LearnFlutterCode  Před 4 lety

      I think provider with change notifier is a good start for many developers. If the app gets complicated, then maybe looking at other state management is better

  • @altered.thought
    @altered.thought Před 3 lety +1

    Thank you for the nice explanation!! :)

  • @snishan95
    @snishan95 Před 4 lety

    Advance sorry for long comment...
    Is it possible to create custom textstyle class/function, Just like we create a custom widget, which we can use at many places in the code ... If possible plz make a video on these kind of topics...
    It can come helpful in a suitation like in themedata we want to style - textTheme, primarytextTheme, accenttextTheme
    Each theme contain headline 1-6 etc...
    I guess u get the point .....

    • @noobinator9854
      @noobinator9854 Před 4 lety

      Its possible using Provider, although I havent figured it out as yet. An alternative to using Provider for your use case is to create the class and declare a Singleton of that class, which can then be used to access your custom theme data anywhere in the app. I read somewhere though, that it is not recommended to use a Singleton when using the Provider package. However, I am not sure why this is the case.
      If using a Singleton:
      class ClassName {
      static const Color someColor = Colors.blue;
      ClassName._();
      }
      Then in the screens, eg:
      Container(color: ClassName.someColor, child: childWidget)