'How to update Dart on VS Code?
enter image description hereenter image description hereToday VS Code sent me an error:
Version 2.16.1 of the Dart SDK is available (you have 2.16.0). Some features of Dart Code may not work correctly with an old SDK.
Do I have to download it again as ZIP and add it to PATH for the update?
Solution 1:[1]
It should work with
flutter upgrade
Solution 2:[2]
Solution 3:[3]
For linux try this,
flutter channel stable
flutter upgrade
or this
flutter channel master
flutter upgrade
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Miguel de Mora |
| Solution 2 | Hardik Mehta |
| Solution 3 | Manishyadav |

