Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行示例项目提示Error: No named parameter with the name 'onPopInvokedWithResult'. #9

Open
cjn882288 opened this issue Aug 28, 2024 · 1 comment

Comments

@cjn882288
Copy link

我本地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

@Kxmrg
Copy link
Owner

Kxmrg commented Aug 28, 2024

3.24.0+

@github-staff github-staff deleted a comment from ViniciusSCG Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@cjn882288 @Kxmrg and others