更新时间:2022-11-08 13:18:25
您可以尝试
Navigator.pop(context,true);
而不是
Navigator.pop()
Flutter:在控件方向更改期间锁定小部件树时调用setState()或markNeedsBuild()