Flutter - Handling Application Lifecycle | Flutter Tutorial

preview_player
Показать описание
#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:

🔥 Auto-Generate Flutter Custom Paint Code TRY THIS FREE TOOL👇:

🔥 Learn About the MOST IMPORTANT WIDGETS in Flutter 👇:

(Your UPVOTE Means a lot! 🙌)

If you find this video useful consider Supporting @RetroPortal Studio :

Social Links @RetroPortal Studio :

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:
Happy Coding! ✌️😁

RetroPortalStudio
Автор

This is what true programming is, and the best content to learn good job pro

katababden
Автор

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

SamRamezanli
Автор

Joined flutter a year ago i was searching flutter like android life cycle here you come thanks. Really appriciate your work

hilaltube
Автор

Thank you
Very good and simple explanation
Straight to the point

iamdjango
Автор

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

faisalahmad
Автор

I think this is the best tutorial about lifecycles in flutter, Looking forward to more quality content.

faisalahmad
Автор

Thank you sir ! Learned a lot from your channel 😊

imyogisingh
Автор

After watching for first time, I subscribed immediately. You are a good explainer

SuperAussi
Автор

Detailed and easy to understand, thank you

phanhau
Автор

Amazing explanation. Exactly what I needed. Again. Superb job.

jorgwei
Автор

Simple and clear explanation keep it up.

NomoBuddhay
Автор

Thank you for the wonderful video bro it is very helpful for me and my team, Thanks again bro

pravinprince
Автор

You are hero for me. it's very clear.

sahapatjunthet
Автор

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

diogosequeira
Автор

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.

talatkuyuk
Автор

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.

corepuncher
Автор

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?

syahidbaddry
Автор

How to make MultiTimer (adding multiple timers in GridView or ListView) with share preferences in Flutter?

domontowicz
Автор

Awesome video. Is it possible to detect when an app is closed??

chinazaogwo