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 :)

КОМЕНТАРІ • 61

  • @RetroPortalStudio
    @RetroPortalStudio  3 роки тому +6

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

  • @katababden8014
    @katababden8014 3 роки тому +15

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

  • @hilaltube4693
    @hilaltube4693 3 роки тому +2

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

  • @ankiy
    @ankiy 3 роки тому +9

    Most simplified explanation ♥️

  • @SamRamezanli
    @SamRamezanli 3 роки тому +2

    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

  • @diogosequeira4873
    @diogosequeira4873 3 роки тому +2

    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

    • @RetroPortalStudio
      @RetroPortalStudio  3 роки тому +1

      Thank you💙

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

      he did not provide the starter...so 4 star

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

      @@faheemahmad3957 You also want him to to write the code for you in your pc? 🤣

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

      @@diogosequeira4873 he didnt gave time to copy it down,....how can i undersdtand

  • @SuperAussi3
    @SuperAussi3 Рік тому +1

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

  • @faisalahmad1934
    @faisalahmad1934 3 роки тому +2

    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

  • @DexterTalha
    @DexterTalha 3 роки тому +6

    Awesome... This explanation 🔥😍

  • @imyogisingh
    @imyogisingh 3 роки тому +4

    Thank you sir ! Learned a lot from your channel 😊

  • @iamdjang0o
    @iamdjang0o 8 місяців тому +1

    Thank you
    Very good and simple explanation
    Straight to the point

  • @phanhau9097
    @phanhau9097 2 роки тому +1

    Detailed and easy to understand, thank you

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

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

  • @NomoBuddhay326
    @NomoBuddhay326 2 роки тому +1

    Simple and clear explanation keep it up.

  • @musicalwanderings7380
    @musicalwanderings7380 2 роки тому +1

    Well explained! Great job! Thanks!

  • @jorgwei8590
    @jorgwei8590 2 роки тому +1

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

  • @konstantink2396
    @konstantink2396 Рік тому +1

    Good example and nice english!

  • @sahapatjunthet8041
    @sahapatjunthet8041 3 роки тому +1

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

  • @pravinprince3221
    @pravinprince3221 Рік тому +1

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

  • @corepuncher
    @corepuncher 7 місяців тому

    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.

  • @mishaalrahmanmuhammed
    @mishaalrahmanmuhammed 3 роки тому +1

    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...

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

      Get Flutter Cookbook by Packt Publishers

  • @nicolas5540
    @nicolas5540 3 роки тому +1

    Excellent explanation, very clear

  • @syahidbaddry3009
    @syahidbaddry3009 9 місяців тому

    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?

  • @rohanveer1969
    @rohanveer1969 3 роки тому +1

    awesome!!! this was helpful

  • @gabrielowusu1927
    @gabrielowusu1927 3 роки тому +1

    This was really helpful. Thank you

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

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

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

    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.

  • @hemantharijan4431
    @hemantharijan4431 3 роки тому +2

    got to learn new thing thank you

  • @dilmurodxamdamov5908
    @dilmurodxamdamov5908 Рік тому +1

    Thanks good explanation

  • @davidmatoska975
    @davidmatoska975 3 роки тому +3

    very good, thanks

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

    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.

  • @Sdscon
    @Sdscon 2 роки тому +2

    This is so beautiful, you're so beautiful! Flutter is so beautiful!!

  • @muhammadmusharaf4705
    @muhammadmusharaf4705 Рік тому +2

    Thanks Man. ChatGPT does not have all the answers.

  • @debasishbhattacherjee6236
    @debasishbhattacherjee6236 3 роки тому +1

    Very Nice

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

    Please make a video for sendBird chat and agora video integration.

  • @carlosdegollado7687
    @carlosdegollado7687 2 роки тому +1

    I thought super.dispose() is supposed to be called after everything else is disposed?

  • @ankiy
    @ankiy 3 роки тому +1

    What actually the mixin is?

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

    you are a gem

  • @faheemahmad3957
    @faheemahmad3957 3 роки тому +1

    do from scratch bro... bro please make a social app too with local database no fire base

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

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

  • @friendsexpress6516
    @friendsexpress6516 2 роки тому

    Sadly it doesn't work if you'd like to change a record in db when app is killed.

  • @user-jchjkitv77896
    @user-jchjkitv77896 3 роки тому

    Dose it work also for flutter web?

  • @jawadaslam8537
    @jawadaslam8537 10 місяців тому

    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 ..

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

    Can it be use on stateless widget?

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

    Plz post smart water bottle app in flutter bcz no one did before

  • @rakharuan
    @rakharuan 3 роки тому +1

    Thanks a lot!

  • @ghost_7701
    @ghost_7701 Рік тому

    Legend
    thank you

  • @mercysparks1403
    @mercysparks1403 3 роки тому +1

    very useful video!

  • @selmahunel2153
    @selmahunel2153 3 роки тому +1

    Thank you i love you so much 😙😙😙😙

  • @manikmahajan3453
    @manikmahajan3453 3 роки тому +1

    We both use android for flutter 🤟

  • @koustav2008
    @koustav2008 3 роки тому +1

    EXCELLENT !!!

  • @djameleddinesebbagh1712
    @djameleddinesebbagh1712 3 роки тому +1

    Thanks

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

    Are you indian??