Contents
From Android Studio/IntelliJ: Click Packages get in the action ribbon at the top of pubspec.
Where are flutter packages stored?
By default, the system package cache is located in the . pub-cache subdirectory of your home directory (on Mac and Linux), or in %APPDATA%PubCache (on Windows; the location might vary depending on the Windows version).
How do I install Dart packages?
To use a package, do the following:
- Create a pubspec (a file named pubspec. yaml that lists package dependencies and includes other metadata, such as a version number).
- Use pub to get your package’s dependencies.
- If your Dart code depends on a library in the package, import the library.