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

pub.flutter-io.cn/screenshot-1.3.0/lib/screenshot.dart:160:7: Error: No named parameter with the name 'window'. window: ui.window, #13

Open
tanwanlanyue1 opened this issue Jul 24, 2023 · 0 comments

Comments

@tanwanlanyue1
Copy link

我使用的环境:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.10.6, on Microsoft Windows [版本 10.0.19044.3086], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 4.0)
[√] Android Studio (version 2020.3)
[√] Connected device (3 available)
[√] Network resources

! Doctor found issues in 1 category.
错误:
pub.flutter-io.cn/screenshot-1.3.0/lib/screenshot.dart:160:7: Error: No named parameter with the name 'window'. window: ui.window。
希望可以兼容一下
'Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. '
'Deprecated to prepare for the upcoming multi-window support. '
'This feature was deprecated after v3.7.0-32.0.pre.'

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

1 participant