Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a package before publishing it

Tags:

dart

dart-pub

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?

like image 349
richard Avatar asked Jun 26 '26 02:06

richard


1 Answers

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

like image 113
Alexandre Ardhuin Avatar answered Jun 28 '26 23:06

Alexandre Ardhuin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!