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

ความคิดเห็น • 33

  • @PasinduBroomer
    @PasinduBroomer 2 ปีที่แล้ว +1

    thank god dude searched everywhere for this man. thanks alot

  • @chichebem
    @chichebem 3 ปีที่แล้ว +4

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

  • @rutviktak716
    @rutviktak716 3 ปีที่แล้ว +2

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

  • @AshutoshKumar-ge3iw
    @AshutoshKumar-ge3iw 2 ปีที่แล้ว

    Amazing Man!

  • @hasansalim1868
    @hasansalim1868 3 ปีที่แล้ว +1

    Thanks Robert. Very nice and useful video. Good job

  • @aravind.a
    @aravind.a 3 ปีที่แล้ว +2

    Must a known topic for Flutter developer...

  • @baraaaljabban9058
    @baraaaljabban9058 3 ปีที่แล้ว +1

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

  • @rydmike
    @rydmike 3 ปีที่แล้ว +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! 👍💙

  • @flutterninja9
    @flutterninja9 3 ปีที่แล้ว

    Thanks ❤️

  • @hawkybae
    @hawkybae 3 ปีที่แล้ว +2

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

  • @johnpeter122
    @johnpeter122 3 ปีที่แล้ว +1

    Thank you very much.

  • @buck-johnson
    @buck-johnson 3 ปีที่แล้ว +1

    Great video. Just what I needed, thanks.

  • @spinorapps3334
    @spinorapps3334 3 ปีที่แล้ว

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

  • @pravinprince3221
    @pravinprince3221 ปีที่แล้ว

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

  • @arifmaul1690
    @arifmaul1690 3 ปีที่แล้ว +1

    Loooove it ❤👍🏻

  • @SuperHesni
    @SuperHesni 3 ปีที่แล้ว +1

    Amazing video like always , thank you

  • @FlutterMapp
    @FlutterMapp 2 ปีที่แล้ว +2

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

    • @RobertBrunhage
      @RobertBrunhage  2 ปีที่แล้ว

      We all get that feeling sometimes 😂

  • @ibrahimshehuibrahim918
    @ibrahimshehuibrahim918 3 ปีที่แล้ว +1

    Damn too good

  • @darshanrander1950
    @darshanrander1950 3 ปีที่แล้ว

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

  • @fuadall8961
    @fuadall8961 ปีที่แล้ว

    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 3 ปีที่แล้ว

    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 3 ปีที่แล้ว +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  3 ปีที่แล้ว +3

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

  • @MikeNugget
    @MikeNugget 3 ปีที่แล้ว +1

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

    • @RobertBrunhage
      @RobertBrunhage  3 ปีที่แล้ว

      I don't quite follow what you mean

    • @rebarius
      @rebarius 3 ปีที่แล้ว +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 ปีที่แล้ว

    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 3 ปีที่แล้ว

    What extension do you use to remove all the comments?

    • @hasansalim1868
      @hasansalim1868 3 ปีที่แล้ว +1

      He mentioned all useful extentions he used to install and use in this video th-cam.com/video/HhumfOSYFNc/w-d-xo.html

  • @njengathegeek
    @njengathegeek 9 หลายเดือนก่อน

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