How to install Dart SDK in Windows 10 with vscode
Dart is a programming language developed by google specifically designed for client developments such as web applications and mobile development.
Now, let us discuss how we can install Dart SDK and run simple dart programs in VS Code.
First Step: Go to the Website https://dart.dev/. Then click on Get Dart.
Second Step: On Scrolling down, you will find downloading the SDK as a zip file.
Next Step: Open the Folder where you had kept dart-sdk and it to Path in Environment Variable
If you don’t know how to add Environment Variables then visit this link.
Next: Open VSCode (Assuming you had assumed VS Code ). Click on Extensions and search for Dart
Next: Click on File >New Project>New File and save the file as helloworld.dart
void main() {
print("HelloWorld!!");
}
Congratulations, You have successfully installed and written your first code in dart.
If you are still learning Dart programming language you can find some code examples on the devhubby.com website. For example, here is how to generate random numbers in Dart?
Comments
Post a Comment