简体   繁体   English

screen_util.dart:58:5:错误:“FlutterWindow”不是一种类型。 颤动窗口? window,

[英]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.

相关问题 如何获取 FlutterWindow 的 GLFW 窗口 ID - How to get GLFW window Id of FlutterWindow 错误:“CupertinoPageRoute”不是一种类型。 Flutter (Android Studio) - Error: 'CupertinoPageRoute' isn't a type. Flutter (Android Studio) Dart 扩展 - 获取“不是类型”错误 - Dart extension - Getting "isn't a type" error 错误:'kethrow' 不是类型。 kethrow _ClientSocketException(错误,request.url); - Error: 'kethrow' isn't a type. kethrow _ClientSocketException(error, request.url); 错误:没有为“TasksScreen”类型定义方法“setState”。 (未定义方法在 [todoey] lib/screens/tasks_screen.dart:26) - error: The method 'setState' isn't defined for the type 'TasksScreen'. (undefined_method at [todoey] lib/screens/tasks_screen.dart:26) Bloc 错误 apiState 数据加载不是一种类型。 尝试更正名称以匹配现有类型,显示冻结包错误 - Bloc error apiState dataloading isn't a type. Try correcting the name to match an existing type ,showing error with freezed package 错误:没有为“String”类型定义运算符“>”。 dart flutter - error: The operator '>' isn't defined for the type 'String'. dart flutter Dart Flutter 未为类型“sqliteDaatabase”定义方法“getDatabasePath”。 错误 - Dart Flutter The method 'getDatabasePath' isn't defined for the type 'sqliteDaatabase'. Error Dart:没有为“Type”类型定义方法 - Dart: method isn't defined for the type 'Type' Flutter:“用户”不是类型。 以前工作过吗? - Flutter: "User" isn't a type. Used to work before?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM