[英]screen_util.dart:58:5: Error: 'FlutterWindow' isn't a type. FlutterWindow? window,
:/Users/afaqz/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_screenutil-5.6.0/lib/src/screen_util.dart:58:5: Error: Type 'FlutterWindow' not found. :/Users/afaqz/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_screenutil-5.6.0/lib/src/screen_util.dart:58:5:错误:找不到类型“FlutterWindow”。 FlutterWindow?
颤动窗口? window, ^^^^^^^^^^^^^ /C:/Users/afaqz/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_screenutil-5.6.0/lib/src/screen_util.dart:58:5: Error: 'FlutterWindow' isn't a type.
window, ^^^^^^^^^^^^^/C:/Users/afaqz/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_screenutil-5.6.0/lib/src/screen_util.dart :58:5: 错误:'FlutterWindow' 不是一种类型。 FlutterWindow?
颤动窗口? window, ^^^^^^^^^^^^^ show this massage when i upgrade the flutter dont know what to do?
window,^^^^^^^^^^^^^^ 升级flutter时显示此按摩不知道该怎么办?
i try alot but how to fix this problen no find any where我尝试了很多但如何解决这个问题找不到任何地方
This error is most likely caused by a version mismatch or a missing dependency.此错误很可能是由版本不匹配或缺少依赖项引起的。
You can try checking the dependencies in your project, and make sure that all packages are up to date.您可以尝试检查项目中的依赖项,并确保所有包都是最新的。 you are use a package flutter_screenutil, you can check the documentation for the version that you are using and make sure that it is compatible with the version of flutter you are using.
您使用的是 package flutter_screenutil,您可以查看您正在使用的版本的文档,并确保它与您正在使用的 flutter 版本兼容。
If the problem persists, you can try removing the package and then adding it again.如果问题仍然存在,您可以尝试删除 package 然后重新添加。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.