Flutter Pubspec.yaml Warning: Publishable packages can’t have git dependencies

My guess is that it helps you preventing publishing dummy/old package by doing extra check on package that are set to be published. You should add (at the root of the document, for example after the version field):

publish_to: none

to your pubspec.yaml

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top