A link to the corresponding code repository

Next, run the publish command in dry-run mode
to see if everything passes analysis:

flutter pub publish

-dry-run

The next step is publishing to pub.dev,
but be sure that you are ready because
publishing is forever:

flutter pub publish

For more details on publishing, see the
publishing docs on dart.dev.

Handling package interdependencies

If you are developing a package hello that depends on
the Dart API exposed by another package, you need to add
that package to the dependencies section of your
pubspec.yaml file. The code below makes the Dart API
of the url_launcher plugin available to hello:

dependencies

url_launcher

^5.0.0