Flutter App life Cycle Like a Boss - Learn How to Reuse the Logic

Sdílet
Vložit
  • čas přidán 28. 07. 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

Komentáře • 33

  • @chichebem
    @chichebem Před 3 lety +4

    This is AMAZING! I feel like I learnt a lot from this. Thank you.

  • @PasinduBroomer
    @PasinduBroomer Před 2 lety +1

    thank god dude searched everywhere for this man. thanks alot

  • @rutviktak716
    @rutviktak716 Před 3 lety +2

    Hey,robert this was really very informative tutorial.Thanx💙

  • @hasansalim1868
    @hasansalim1868 Před 3 lety +1

    Thanks Robert. Very nice and useful video. Good job

  • @aravind.a
    @aravind.a Před 3 lety +2

    Must a known topic for Flutter developer...

  • @hawkybae
    @hawkybae Před 3 lety +2

    Lifecycle manager widget is actually very smart!
    I've always been skeptical about wrapping widgets around my MaterialApp lol
    Gonna try this!

  • @rydmike
    @rydmike Před 3 lety +1

    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! 👍💙

  • @pravinprince3221
    @pravinprince3221 Před rokem

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

  • @johnpeter122
    @johnpeter122 Před 3 lety +1

    Thank you very much.

  • @baraaaljabban9058
    @baraaaljabban9058 Před 3 lety +1

    it's helpful to know that, thanks mate!.
    2 new ideas added, keep the good work 👏 .

  • @AshutoshKumar-ge3iw
    @AshutoshKumar-ge3iw Před 2 lety

    Amazing Man!

  • @spinorapps3334
    @spinorapps3334 Před 3 lety

    Thank you for your good video about flutter.
    I Love Mobile app development using Flutter.

  • @flutterninja9
    @flutterninja9 Před 3 lety

    Thanks ❤️

  • @buck-johnson
    @buck-johnson Před 3 lety +1

    Great video. Just what I needed, thanks.

  • @SuperHesni
    @SuperHesni Před 3 lety +1

    Amazing video like always , thank you

  • @arifmaul1690
    @arifmaul1690 Před 3 lety +1

    Loooove it ❤👍🏻

  • @FlutterMapp
    @FlutterMapp Před 2 lety +2

    Me before the video: "I consider myself pretty good with Flutter"
    Me after the video: "What is Flutter"

  • @ibrahimshehuibrahim918
    @ibrahimshehuibrahim918 Před 3 lety +1

    Damn too good

  • @darshanrander1950
    @darshanrander1950 Před 3 lety

    There is a vscode extension named dart import, which formats all the imports for dart!

  • @fuadall8961
    @fuadall8961 Před rokem

    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.

  • @shei69
    @shei69 Před 3 lety

    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

  • @Ageleo
    @Ageleo Před 3 lety +2

    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.

    • @RobertBrunhage
      @RobertBrunhage  Před 3 lety +3

      Something I have actually been thinking of writing it up to prioritize it!

  • @MikeNugget
    @MikeNugget Před 3 lety +1

    Cool video. What if to use life cycle status with scoped_model?

    • @RobertBrunhage
      @RobertBrunhage  Před 3 lety

      I don't quite follow what you mean

    • @rebarius
      @rebarius Před 3 lety +1

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

  • @dipalithakare6941
    @dipalithakare6941 Před rokem

    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.

  • @husseinalmosawi2001
    @husseinalmosawi2001 Před 3 lety

    What extension do you use to remove all the comments?

    • @hasansalim1868
      @hasansalim1868 Před 3 lety +1

      He mentioned all useful extentions he used to install and use in this video czcams.com/video/HhumfOSYFNc/video.html

  • @njengathegeek
    @njengathegeek Před 10 měsíci

    I clicked like three times to show how happy I am,