richard
richard

Reputation: 3299

Using a package before publishing it

I am currently developing a dart package and would like to use it in another dart project without having to publish it on Dart-pub.

Is there any way of doing this?

Upvotes: 3

Views: 76

Answers (1)

Alexandre Ardhuin
Alexandre Ardhuin

Reputation: 76243

Yes ! You have to use path in pubspec.yaml to link the directory of your dependency. See Path packages.

Upvotes: 4

Related Questions