Go to https://pub.dartlang.org/packages and find the latest package from there. In there you can see an install tab. click that. Now you can add the dependencies into your pubspec.
Read moreHow do I update my flutter app to the newest version?
You can surely upgrade your existing app right away with Flutter 2.0.
Read moreWhat is the latest version of Flutter SDK?
May 6, 2020, Work-From-Home Edition: 1.17 release. Flutter 1.17 is live! For more information, see Announcing Flutter 1.17.
Read moreWhat is latest flutter stable version?
By default, when you create a new app, Flutter defaults to support the latest version of Android, version 12 (API level 31).3 Şub 2022
Read more