Update Dart SDK
IDX uses an old version of the Dart SDK (3.1.2) that no longer compiles current applications. How to update to current stable version (3.3.0+)?
This has been fixed! https://twitter.com/kirupa/status/1773750253671551296
-
Lasse Nielsen commented
Not fixed, Dart is still at 3.1.3, which is almost a year old.
The DartCode plugin shows me this popup:Version 3.5.3 of the Dart SDK is available (you have 3.1.3). Some features of Dart Code may not work correctly with an old SDK.
This is a Dart-only project, not using Flutter. -
Hi Darlan, Zhenghai - we have updated the version of Flutter and Dart to the latest beta version in IDX. You can also use the terminal and run the "flutter upgrade" commands as well to switch channels and adjust the versions to match your project.
Cheers,
Kirupa -
zhenghai zhou commented
Facing similar issue, need at least 3.3.0 for project to run.