Issue
Is there a way to make Android Studio auto import packages from external libraries?
What I mean by that is I got to pub.dev getting package I want and then in Android Studio I can write name of the class I want to use from that package and IDE would auto import it for me… I believe in VS Code is as simple as on mac cmd + . (fullstop) is driving me nuts
thank you
Solution
yes, you can add any external package from pub.dev using this command in terminal:
flutter pub add package-name
Answered By – Sahil Atahar
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0