Flutter - Navigator.pop(context) calls methods of the screen we are leaving

前端 未结 0 433
庸人自扰
庸人自扰 2021-01-21 05:58

When leaving a page via Navigator.pop(context) the method defined in MaterialApps routes:

"/routeName": (context) {
        doSomething         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题