Closed InSomniaMoon closed 1 year ago
You can use GitHub links form pub.dev like this:
https://stackoverflow.com/questions/54022704/how-to-add-a-package-from-github-in-flutter On 31 Mar 2022 13:20 +0300, Pierre Leroyer @.***>, wrote:
the dependency can't be added from pub.dev. Solution : I downloaded the github project and added it into a "package" folder a the root of my project, and added this in the dependencies in pubsec.yaml : strava_flutter: path: packages/strava_flutter — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
the dependency can't be added from pub.dev beacause the version works with cupertino isons 0.1.2, whereas flutter now works with cupertino_icons 1.0.2 and higher.
Solution : I downloaded the github project and added it into a "package" folder a the root of my project, and added this in the dependencies in pubsec.yaml : strava_flutter: path: packages/strava_flutter