【发布时间】:2021-10-10 06:20:15
【问题描述】:
我需要在设备上编程后退箭头,但出现此错误。
WillPopScope 的代码: 正文:WillPopScope( onWillPop:返回(上下文),=> 错误 ),
后退功能是:
Future<bool> back(BuildContext context) async {
Navigator.of(context).pop();
return true;
}
【问题讨论】:
标签: flutter