Flutter - Handling Application Lifecycle | Flutter Tutorial
Вставка
- Опубліковано 15 жов 2024
- #flutter #mobileapp
In this Flutter Tutorial, we will be taking an in-depth look at handling Application Logic on the application life cycle States such as resumed, paused, inactive or detached. We will write a basic timer app to pause when the application is in the background and resume when the app comes to the foreground.
Application LifeCycle States:
api.flutter.de...
🔥 Auto-Generate Flutter Custom Paint Code TRY THIS FREE TOOL👇:
👉 Flutter Shape Maker: fluttershapema...
🔥 Learn About the MOST IMPORTANT WIDGETS in Flutter 👇:
👉 Widget Essentials Series: bit.ly/3GpfiYw
👉🏻 Product Hunt: www.producthun...
(Your UPVOTE Means a lot! 🙌)
If you find this video useful consider Supporting @RetroPortal Studio :
👉 Buy Me a Coffee: www.buymeacoff...
👉 Patreon: / retroportalstudio
Social Links @RetroPortal Studio :
👉 Twitter: / theretroportal
👉 Medium: / retroportalstudio
👉 Instagram: / retroportalstudio
👉 GitHub: github.com/ret...
If you like the tutorial, please hit the LIKE and Subscribe button and also consider supporting me on Patreon or Buy Me a Coffee for More Flutter Tutorial on RetroPortal Studio.
Thank you for Watching! Happy Coding :)
If you find this video useful, consider Following me on:
Twitter: twitter.com/theretroportal
Instagram: instagram.com/retroportalstudio
LinkedIn: www.linkedin.com/in/parasjainrps
Git: github.com/retroportalstudio
Happy Coding! ✌️😁
This is what true programming is, and the best content to learn good job pro
Joined flutter a year ago i was searching flutter like android life cycle here you come thanks. Really appriciate your work
Most simplified explanation ♥️
I love how clear and simple you speak.
I also like that you remind us with some other logics you're using (in this example, you quickly explained what mixins are)
thanks
I don't usually leave comments in most of the tutorials but this one is really well made. The explanation is clear, the examples were well chosen and it provided documentation. 5 stars, keep it up
Thank you💙
he did not provide the starter...so 4 star
@@faheemahmad3957 You also want him to to write the code for you in your pc? 🤣
@@diogosequeira4873 he didnt gave time to copy it down,....how can i undersdtand
After watching for first time, I subscribed immediately. You are a good explainer
I think this is the best tutorial about lifecycles in flutter, Looking forward to more quality content. so good I had to say it twice :D
Awesome... This explanation 🔥😍
Thank you sir ! Learned a lot from your channel 😊
Thank you
Very good and simple explanation
Straight to the point
Detailed and easy to understand, thank you
I think this is the best tutorial about lifecycles in flutter, Looking forward to more quality content.
Simple and clear explanation keep it up.
Well explained! Great job! Thanks!
Amazing explanation. Exactly what I needed. Again. Superb job.
Good example and nice english!
You are hero for me. it's very clear.
Thank you for the wonderful video bro it is very helpful for me and my team, Thanks again bro
I really thought this was going to work (since I neglected the .inactive state previously), but adding that did not fix my issue, which is: SOMETIMES coming out of background, the app comes up "black". Sending it back to background and immediately bringing to foreground fixes it. Any idea why it needs another "cycle" in order to show the app properly? I'd say half the time, it comes up ok the first time. Almost random.
These videos are so clean and helpful ... Keep on posting. Can you please do a video on implementing push notifications in flutter using firebase, especially on iOS , content related to push notification is iOS is so confusing and not readily available anywhere...
Get Flutter Cookbook by Packt Publishers
Excellent explanation, very clear
lets say you did nothing with the app lifecycle,when the app is in bg the code still run and how long the code still run(in your case is the increment)?as long user not destroyed the app or there a time to automatic destroyed the app?
awesome!!! this was helpful
This was really helpful. Thank you
Awesome video. Is it possible to detect when an app is closed??
Thanks for sharing. I run the app but it didn't handle the detached event but the others. How do we handle detached or created state of the application like Android/Kotlin.
got to learn new thing thank you
Thanks good explanation
very good, thanks
Can a sub widget inherits of WidgetBindingObserver so it can be aware of lifecycle ?
Even if it is not a root widget
Like a Widgect contained on a scaffold or whatever ?
Thanks a lot.
This is so beautiful, you're so beautiful! Flutter is so beautiful!!
Thanks Man. ChatGPT does not have all the answers.
Very Nice
Please make a video for sendBird chat and agora video integration.
I thought super.dispose() is supposed to be called after everything else is disposed?
Yes that is the case. Its a mistake in video 😅
What actually the mixin is?
you are a gem
do from scratch bro... bro please make a social app too with local database no fire base
How to make MultiTimer (adding multiple timers in GridView or ListView) with share preferences in Flutter?
Sadly it doesn't work if you'd like to change a record in db when app is killed.
Dose it work also for flutter web?
Now I am getting one more state named Hidden i don't know why but its confusing now ..also someone who can explain detached state ..
Can it be use on stateless widget?
Plz post smart water bottle app in flutter bcz no one did before
Thanks a lot!
Legend
thank you
very useful video!
Thank you i love you so much 😙😙😙😙
We both use android for flutter 🤟
EXCELLENT !!!
Thanks
Awesome 👍
Are you indian??
ua-cam.com/users/RetroPortalStudioabout