Alex Vincent's Blog

Alex's Blog
Where he writes his thoughts and experiences.
默认分类

Flutter Dialog 禁止返回键返回

在showDialog方法中,安卓机型点击返回键,barrierDismissible不能阻止dialog pop,需要传异步方法进onWillPop,示例如下:

4月 21, 2019 0条评论 8919点热度 16人点赞 Alex Li 阅读全文

COPYRIGHT © 2023 Alex Li. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

桂ICP备16008143号-1