🎯 Installs the Dart SDK
Dart is a client-optimized language for fast apps on any platform
— Dart programming language | Dart
This feature installs the Dart SDK to /usr/lib/dart
by downloading it from
Google's Dart archive service. It also adds the Dart VS Code extension.
To use this feature, all you need to do is add it to your devcontainer.json
like this:
// devcontainer.json
{
"features": {
"ghcr.io/devcontainers-community/features/dart-sdk": {}
}
}
❓ Don't know what this ☝ means? Check out this VS Code blog post.
version
: A version of the Dart SDK like3.0.7
. Must be a complete version identifier orlatest
. The default islatest
.