Upgrade is one of the commands of the pub tool . $ dart pub upgrade [options] [dependencies] 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 moreHow do I install DART version?
Install Dart on Windows
Read moreHow do I upgrade my dart package?
With Dart:
Read moreHow do I upgrade an existing flutter app?
To upgrade your existing Flutter app to Flutter 2.0, all you have to do is:
Read moreHow do I upgrade my flutter package?
To upgrade to a new version of the package, for example to use new features in that package, run flutter pub upgrade (Upgrade dependencies in IntelliJ or Android Studio) to retrieve the highest available version of the package that is allowed by the version constraint specified in pubspec. yaml .
Read more