【发布时间】:2020-11-12 12:09:14
【问题描述】:
基本上我需要将版本和我的本地依赖项 URL 分配为用户定义的变量,并在路径中或我希望的任何地方分配相同的值
下面的例子
mydependancyPath : D:\mylocalDependancy
commonUtils:
path: mydependancyPath
1.请让我知道我怎样才能像上面那样实现
2.是否可以将另一个YAML文件导入pubspec.yaml
在Android中我可以实现如下
dagger_version=2.8
"com.google.dagger:dagger:${dagger_version}"
【问题讨论】: