This repo contains all the downloadable materials and projects associated with the Dart Apprentice: Fundamentals from Kodeco.
Dart is a modern and powerful programming language designed by Google. Dart does have some unique characteristics, for someone have any experience with other object-oriented or C-style languages, you'll immediatelty feel at home with Dart. Even if you come to start Dart programming as a complete beginner, Dart is a good place to start.
The Dart virtual machine allows lightning-fast development-time rebuilds, and its ahead-of-time compiler creates native applications for every major platform. As one pf the most versetile languages on the market today, you can use Dart to write anything from command-line apps and back-end servers to native applications for Android, iOS, Web, Mac, Windows, Linux and even embedded devices.
Installing the Dart SDK
The Dart SDK is a collection of command-line tools that make it possible to develop Dart applications. Go to dart.dev/get-dart and follow the directions on that site to download and install the Dart SDK on your platform.
Verifying the Dart SDK Installation
After you've installed Dart, run the following command in a terminal to ensure that it's working:
dart --version
Creating and Running the Project
Go to the location where you want to create your project folder, and then run the following command in the terminal:
dart create hello
(this create a simple Dart project with some default code).
Enter the following folder you just created, and then run the project with the following command:
dart run bin/hello.dart