Flutter App life Cycle Like a Boss - Learn How to Reuse the Logic
ฝัง
- เผยแพร่เมื่อ 13 ก.ค. 2024
- Learning the app life cycle in a Flutter app is crucial to become a Flutter Developer. We are going to go over the most important ones and also how we can reuse the implementation.
Course to build a production-ready app 👉 robertbrunhage.com/course
00:00 Overview
01:23 WidgetsBindingObserver
02:39 didChangeAppLifecycleState
05:52 The problem
06:23 The Life Cycle Manager
Source code: github.com/RobertBrunhage/flu...
Flutter Widget Life Cycle: • Learn Flutter Life Cyc...
····················································································
♥ Become a Patreon supporter: / robertbrunhage
♥ Subscribe: bit.ly/2SUyRhx
····················································································
● Website: robertbrunhage.com
● Twitter: / robertbrunhage
● Discord: / discord
● Instagram: / robertbrunhagedev
● Facebook: bit.ly/RobertDev
thank god dude searched everywhere for this man. thanks alot
This is AMAZING! I feel like I learnt a lot from this. Thank you.
Hey,robert this was really very informative tutorial.Thanx💙
Amazing Man!
Thanks Robert. Very nice and useful video. Good job
Must a known topic for Flutter developer...
it's helpful to know that, thanks mate!.
2 new ideas added, keep the good work 👏 .
Nice, even if you might be familiar with app life cycle manager an additional great take away from this tutorial was the elegance used in refactoring it from a “let’s see how this works playground” to a reusable wrapper widget. Loved it! 👍💙
Thanks ❤️
Lifecycle manager widget is actually very smart!
I've always been skeptical about wrapping widgets around my MaterialApp lol
Gonna try this!
Thank you very much.
Great video. Just what I needed, thanks.
Glad you liked it!
Thank you for your good video about flutter.
I Love Mobile app development using Flutter.
Thank you for the wonderful video sir it is very helpful for me and my team, Thanks again sir
Loooove it ❤👍🏻
Amazing video like always , thank you
Glad you liked it!
Me before the video: "I consider myself pretty good with Flutter"
Me after the video: "What is Flutter"
We all get that feeling sometimes 😂
Damn too good
There is a vscode extension named dart import, which formats all the imports for dart!
It would be nice to provide these states by streamcontroller broadcast so other pages or blocs can subscribe throught the sream and react for state changes.
Amazing
Can you do a flutter tutorial with hive and also show how to sync hive with firebase realtime database or firestore...
Example Project: A chat app that uses rtdb to send messages and the messages and contacts info are persisted in hive for offline use
Do you think you can make a video on how to read Flutter Documentation and playing around with it? It's like my brain automatically turns off the moment I see the documentation.
Something I have actually been thinking of writing it up to prioritize it!
Cool video. What if to use life cycle status with scoped_model?
I don't quite follow what you mean
You can integrate any State Management into that Widget and call the specific methods inside the override methods. I for example use Provider.of for this :)
Please tell me.....
didchangeAppLifecyclestate is called immediately after init state Or
when app is coming from background to foreground then its called .....
Please clear when it's called.
What extension do you use to remove all the comments?
He mentioned all useful extentions he used to install and use in this video th-cam.com/video/HhumfOSYFNc/w-d-xo.html
I clicked like three times to show how happy I am,