我本地Flutter版本是3.22.3,运行示例项目一直提示如下错误...具体需要哪个Flutter版本?
../lib/common/widgets/double_press_back.dart:50:7: Error: No named parameter with the name 'onPopInvokedWithResult'.
onPopInvokedWithResult: (bool didPop, value) async {
^^^^^^^^^^^^^^^^^^^^^^
/E:/flutter/packages/flutter/lib/src/widgets/pop_scope.dart:55:9: Context: Found this candidate, but the arguments don't match.
const PopScope({
^^^^^^^^
Target kernel_snapshot failed: Exception
我本地Flutter版本是3.22.3,运行示例项目一直提示如下错误...具体需要哪个Flutter版本?
../lib/common/widgets/double_press_back.dart:50:7: Error: No named parameter with the name 'onPopInvokedWithResult'.
onPopInvokedWithResult: (bool didPop, value) async {
^^^^^^^^^^^^^^^^^^^^^^
/E:/flutter/packages/flutter/lib/src/widgets/pop_scope.dart:55:9: Context: Found this candidate, but the arguments don't match.
const PopScope({
^^^^^^^^
Target kernel_snapshot failed: Exception