I want to add one flutter plugin in github as dependency to another flutter project.
i have followed the code https://flutter.dev/docs/development/packages-and-plugins/using-packages#dependencies-on-unpublished-packages and added a ref tag as mentioned here https://dart.dev/tools/pub/dependencies#git-packages
dependencies:
mypluginname:
git:
url: http://mywebsite/myproject.git
ref: master
i expect to fetch the latest commit of this branch(master), but it fetches first commit.