Flutter: Inherited Widget & Scoped Model Explained | Part - 1

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • In this video, I will explain what are inherited widgets and what is scoped model?
    Give star for this project on git and like the video.
    Source Code - github.com/iam...
    Flutter Example Apps - goo.gl/8hZQkq
    Instagram - / codepur_ka_superhero
    FB Group - goo.gl/hwnX2F
    Be sure to ask for help in the comments if you need any. Suggestions for future Flutter tutorials are also very welcome! :)
    Flutter is an SDK owned by Google to create applications for Android and iOS using a single codebase. Flutter uses the Dart programming language (also owned by Google). Flutter was in beta when I released this video, so things might still change a bit. But the SDK is already mature enough to write some cool production apps!
    Please Subscribe my channel to motivate me .
    Subscribe Our Channel : goo.gl/BlFui4
    For Fun - www.youtube.co....
    Connect with us on social media:
    Facebook: / mtechviral
    Pawan Kumar - / imthepk
    Ask Pawan Kumar - / thepawankumaar
    Instagram - / codepur_ka_superhero
    Twitter: / imthepk
    LIKE | SHARE | SUBSCRIBE FOR MORE VIDEOS LIKE THIS
    THANKS FOR WATCHING!

КОМЕНТАРІ • 21

  • @kuennest4323
    @kuennest4323 5 років тому +9

    please explore the new state management "PROVIDER"

  • @vineet_kishore
    @vineet_kishore 6 років тому +1

    Can you make a video describing just about key , controllers etc . How to declare them and when to use. I always get confused with these. What controller drives what since I am new to app development.
    Also, your videos are mind blowing. Keep making them and if possible you should make a playlist or channel in hindi too since we would be able to understand those who cannot afford costly online courses.

    • @hectoraguero5204
      @hectoraguero5204 5 років тому

      I know it's an old question, but for know this video it's very helpful for other people that have the same question ua-cam.com/video/kn0EOS-ZiIc/v-deo.html

  • @Mhdgter9928
    @Mhdgter9928 5 років тому

    Thank you my teacher

  • @furkanvatandas4819
    @furkanvatandas4819 5 років тому +1

    Hi, I want to ask about inherited what if I use "context.ancestorWidgetOfExactType" instead of "context.inheritFromWidgetOfExactType". What do you think about that?

    • @HelloCodepur
      @HelloCodepur  5 років тому

      you use ancestor when you don't want to rebuild the widget depending upon the rebuild parameter and inheritFrom when you want to rebuild it

  • @Dedsec727
    @Dedsec727 6 років тому +1

    Dude instead of using Inherited Widget, we can declare the myCount as a global variable inside a class and use it anywhere in our app, and use FutureBuilder to rebuild the class 3 widget while myCount changes.

    • @HelloCodepur
      @HelloCodepur  6 років тому +1

      taking global variable is not a good choice bro. There are multiple ways to do this but we need to find the efficient way

    • @escamoteur
      @escamoteur 6 років тому

      Actually I prefer using a service locator like my GetIt pub.dartlang.org/packages/get_it

    • @Dedsec727
      @Dedsec727 6 років тому

      MTechViral May I know why it is not a good choice?

    • @HelloCodepur
      @HelloCodepur  6 років тому +4

      i can write only a single answer for this. But I think you should take a look here - stackoverflow.com/questions/484635/are-global-variables-bad

    • @aadhinana
      @aadhinana 6 років тому +1

      Any one can use it and access it. It's generally avoided in the programming world bro.

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

    thank you for the great effort, I want to ask you what program do you use to record a video, your voice is very clear, I want to record videos, but my voice is not clear and there is whistling, please can you suggest me what is the best program for recording vidoes without whistling sounds; Thank you in advance

  • @dbxstation
    @dbxstation 5 років тому +1

    Hey , i'm just start doing with the flutter , can you tell what extensions you use ?, thanks

    • @HelloCodepur
      @HelloCodepur  5 років тому +1

      I will be making a video on it soon

  • @satishkumar-qq8df
    @satishkumar-qq8df 6 років тому

    Something I want to pass from class3 to class1, how its possible? Without updating the Scaffold.

  • @aadhinana
    @aadhinana 6 років тому

    Great video! Thanks! Can you tell me how you do the wrapping thing? Like the shortcut to wrap widgets?

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

    Nice Video

  • @thinkdigital-cellphonespec4314
    @thinkdigital-cellphonespec4314 6 років тому

    Please link part 2 in the description now that it's out

  • @pippop9583
    @pippop9583 6 років тому

    You just read the code in front of viewers. It not kind of teaching