我遇到了这样一个问题,当添加get:依赖关系时,什么都不会发生。当进口时对于主文件,编辑器建议添加此依赖项,但是错误"Cannot read property“会弹出未定义的”替换“。publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following line prevents the package from being accidentally published topublish_to: 'none' # Remove this line if you wish to publish to pub.dev: https://dart.dev/tools/pub&
在我将Flutter更新到v1.22之后,使用build_runner的代码生成不起作用。有人告诉我在这个版本中应该使用的正确命令是:但是,我收到以下错误:
Couldnot find a file named "pubspec.yaml" in "C:\Users\jpiab\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.o