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!
please explore the new state management "PROVIDER"
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.
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
Thank you my teacher
Hi, I want to ask about inherited what if I use "context.ancestorWidgetOfExactType" instead of "context.inheritFromWidgetOfExactType". What do you think about that?
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
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.
taking global variable is not a good choice bro. There are multiple ways to do this but we need to find the efficient way
Actually I prefer using a service locator like my GetIt pub.dartlang.org/packages/get_it
MTechViral May I know why it is not a good choice?
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
Any one can use it and access it. It's generally avoided in the programming world bro.
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
Hey , i'm just start doing with the flutter , can you tell what extensions you use ?, thanks
I will be making a video on it soon
Something I want to pass from class3 to class1, how its possible? Without updating the Scaffold.
Great video! Thanks! Can you tell me how you do the wrapping thing? Like the shortcut to wrap widgets?
command . or control . (dot)
Nice Video
Please link part 2 in the description now that it's out
You just read the code in front of viewers. It not kind of teaching