摘要: WillPopScope组件 用WillPopScope包裹根页面组件 WillPopScope( onWillPop: _requestPop, child: pageContainer() ) 其中onWillPop绑定的函数就是系统返回事件触发后的处理函数 Future<bool> _requ 阅读全文
posted @ 2023-10-11 11:53 慕雪琳鸢 阅读(138) 评论(0) 推荐(0)