How to develop a Dart library locally?

こ雲淡風輕ζ 提交于 2019-12-05 13:03:46

To use a local library, you can specify a local filepath in your pubspec, such as:

dependencies:
  transmogrify:
    path: /Users/me/transmogrify

When using a local dependency, Dart will pick up any changes automatically, so there's no need to run a special pub command.

You have to use path packages.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!