Run this command on your project folder
flutter pub get
More info: https://flutter.dev/docs/development/packages-and-plugins/using-packagesarrow-up-right
Focus on this statement:
From the terminal: Run flutter pub get. OR
From Android Studio/IntelliJ: Click Packages get in the action ribbon at the top of pubspec.yaml.
pubspec.yaml
From VS Code: Click Get Packages located in right side of the action ribbon at the top of pubspec.yaml.
Last updated 5 years ago