美文网首页
引入FlutterBoost后的生命周期

引入FlutterBoost后的生命周期

作者: RookieRun | 来源:发表于2020-07-23 17:45 被阅读0次

    Native->Flutter,
    ContainerLifeCycle.Init->ContainerLifeCycle.Appear
    Flutter->Flutter
    旧的界面:
    ContainerLifeCycle.Appear(不会调用,只表示当前状态)->ContainerLifeCycle.Disappear->
    新的界面:
    ContainerLifeCycle.Init->ContainerLifeCycle.Appear
    Flutter->Native
    ContainerLifeCycle.Appear(不会调用,只表示当前状态)->ContainerLifeCycle.Disappear->
    Flutter->Home->Flutter
    ContainerLifeCycle.Disappear->ContainerLifeCycle.Background(Home)->ContainerLifeCycle.Foreground->ContainerLifeCycle.Appear
    Flutter->back
    ContainerLifeCycle.Appear(不会调用,只表示当前状态)->ContainerLifeCycle.Disappear->ContainerLifeCycle.Destroy

    相关文章

      网友评论

          本文标题:引入FlutterBoost后的生命周期

          本文链接:https://www.haomeiwen.com/subject/ncwhlktx.html