SDK means Software Development Kit. SDK is a package in which various tools are packed to develop software for a particular platform. Every platform’s SDK gives you different tools, libraries, and software that can help you create the software for that platform.
For example, Java’s JDK (Java Development Kit) provides you with various tools, libraries, and virtual machines for developing the apps for Java’s Platform. The same Android SDK provides you with various tools and libraries for developing apps in Android.
The Dart SDK has libraries and tools that you need to develop your apps. This is a general structure of Dart’s SDK folder.
lib directory — Includes Dart Standard Libraries.
bin directory — Includes tools that you need to develop apps like dart2js compiler, dartfmt, dartanalyzer, etc.
include directory — Contained some necessary header files.
version file — This shows the current Dart version that is installed on your system.
LICENSE file — Standard SDK license.
README file — Shows information about directories and files that are shipped with SDK.
Dart SDK’s Tools
Dart SDK contains seven tools that are necessary for developing Dart applications.
DartVM — The Dart Virtual Machine
dartfmt — The Dart code formatter
dartanalyzer — Analyze the code for errors and warnings that are specified in the dart language specification. DartPad, code editors, and IDEs such as Android Studio, IntelliJ IDEA, and VS Code use the same analysis engine that dartanalyzer uses.
Dartdoc — The API documentation generator.
pub — The Dart package manager. You can use the
pubtool to manage Dart packages. The Flutter SDK has its own commands for managing and updating packages.
Release channels and version strings
The Dart SDK has two release channels:
Stable channel — Updated no more frequently than every 6 weeks.
Dev channel — Usually updated 1/week.
Stable channel releases of the Dart SDK have version strings like
2.1.0. They consist of dot-separated integers, with no hyphens or letters.
Dev channel releases of the Dart SDK (pre-releases) have additional characters, starting with a hyphen (
-). For example, Dart 2 pre-releases have version numbers starting with
2.0.0-dev such as
So that’s all you need to know as a Dart programmer about Dart SDK. Feel free to let me know if I miss something. I’d love to learn that.
Till Then Keep Loving, Keep Coding. Jai Hind, Vande Mataram 🇮🇳