When running flutter pub get (Packages get in IntelliJ or Android Studio) for the first time after adding a package, Flutter saves the concrete package version found in the pubspec. lock lockfile. This ensures that you get the same version again if you, or another developer on your team, run flutter pub get .
Read moreIs pub Get Same as Package Get?
They are the same .5 Nis 2020
Read moreWhat does pub mean in flutter?
Pub is the package manager for the Dart programming language , containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs. So basically pub is the same as npm or any other package manager but it is specific to dart and flutter.
Read moreWhat does flutter pub upgrade do?
Upgrade is one of the commands of the pub tool. Like dart pub get , dart pub upgrade gets dependencies . The difference is that dart pub upgrade ignores any existing lockfile, so that pub can get the latest versions of all dependencies.
Read more