最近升级flutter3.0时 升级完成后 项目出现:
Could not build the precompiled application for the device.
Error (Xcode): ../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than those
of overridden method 'File.create'.
解决办法:
1、flutter clean
2、添加 file: ^6.1.4 到yaml
3、flutter pub upgrade