flutter, android studio, auto import, dart

414 Views Asked by At

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

1

There are 1 best solutions below

0
sahilatahar On BEST ANSWER

yes, you can add any external package from pub.dev using this command in terminal: flutter pub add package-name