Running Pub Upgrade in flutter installation taking too much time

I have a serious issue trying to install flutter... The pub upgrade when you run flutter doctor have being running for the past one hour on my system... I have being stuck with this issue since yesterday i don't know what the exact problem is... I have tried installing via Android Studio and through command line... It ends up getting stuck at "Running Pub Upgrade"... enter image description here


Here are a few things you can try,

Close Android studio,

Open Task Manager and see if any Dart/Flutter services are running, if yes then close them.

Clear cache from flutter/bin folder.

and now run again.