I want to install latest Flutter packages in my android studio project.
In npm, npm install <package name>
installs latest packages automatically and npm update
updates all packages automatically.
Is there any way to do this in Flutter?
Yes it is possible to update existing packages. Use the flutter command below:
flutter pub outdated
This was introduced in Dart 2.8:
As of Dart 2.8, you can use
pub outdated
, a new tool for automatically determining which of your dependencies need to be updated to the latest and greatest versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With