1. Delete the cache folder located at flutter/bin directory. 2. run ```flutter pub cache repair``` /// this will redownload all pub packages