How do i know the latest version of dart environment sdk

Viewed 286

i have the following image from pubspec.yaml file and i am confused of these versions into red circle ..

How to know what is the latest versions of these releases numbers ..

enter image description here

2 Answers

The top circle is the version for your current project

The second circle is the flutter version

  1. Open your flutter project root directory in Command Prompt or Terminal type `

flutter --version command

to check your version

After upgrading my Flutter global version, I create a new project and see what is the latest SDK version in pubspec.yaml. That's how I keep my environment up to date on old projects.

Related