Managing organization packages
As an organization member, you can manage packages within your organization's scope. This includes updating, deprecating, and transferring packages.
Updating packages
To update a package:
- Make your changes to the package code
- Update the version in
pubspec.yaml
- Run
dart pub publish
to publish the new version
Package visibility
You can change a package's visibility between public and private:
- Navigate to the package page on dartpm
- Click on "Settings"
- Select "Make public"/"Make private" depending on the package status
Note
Changing a package from public to private may affect users who are currently using the package. Make sure to communicate this change to your users.