Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 更新到Flatter 2.2.0后文件声明之间存在冲突_Flutter_File_Dependencies - Fatal编程技术网

Flutter 更新到Flatter 2.2.0后文件声明之间存在冲突

Flutter 更新到Flatter 2.2.0后文件声明之间存在冲突,flutter,file,dependencies,Flutter,File,Dependencies,将颤振更新为2.2.0版后,一些库(例如pdf_颤振)因文件声明之间的冲突而损坏: The argument type 'File (where File is defined in /Users/username/bin/flutter/bin/cache/pkg/sky_engine/lib/io/file.dart)' can't be assigned to the parameter type 'File (where File is defined in /Users/userna

将颤振更新为2.2.0版后,一些库(例如pdf_颤振)因文件声明之间的冲突而损坏:

The argument type 'File 
(where File is defined in /Users/username/bin/flutter/bin/cache/pkg/sky_engine/lib/io/file.dart)' can't be assigned to the parameter type 'File (where File is defined in /Users/username/bin/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.0/lib/src/interface/file.dart)'.
File is defined in /Users/username/bin/flutter/bin/cache/pkg/sky_engine/lib/io/file.dart (file.dart:71).
File is defined in /Users/username/bin/flutter/.pub-cache/hosted/pub.dartlang.org/file-6.1.0/lib/src/interface/file.dart (file.dart:10).
如何解决