Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在开发一个 dart 包,并希望在另一个 dart 项目中使用它,而不必在 Dart-pub 上发布它。
有没有办法做到这一点?
是的 !您必须使用pathinpubspec.yaml来链接您的依赖项的目录。请参阅路径包。
path
pubspec.yaml