Deploy Packages with Flutter CLI

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
  1. Update the version number in your pubspec.yaml file.

  2. Run the following command from the project root folder:

    flutter pub publish

Note

When manually publishing Dart and Flutter packages via the UI or REST API, they must be deployed to pub repositories according to the structure <PACKAGE_NAME>/<PACKAGE_NAME>-<VERSION>.tar.gz, otherwise they will not be indexed.

The flutter pub publish command automatically handles proper structure and formatting.