Hello Dart: Introduction to Programming

Installation

To start programming we need…

  • the Dart Editor and
  • the Hello Dart scenarios.

Dart Editor Installation

  1. Download the Dart Editor here.
  2. Unzip the downloaded files to your hard drive.
Note: Dart Editor requires Java 6 or higher. [Download the JRE](http://www.oracle.com/technetwork/java/javase/downloads/), if needed. For other problems with the installation, see Troubleshooting Dart Editor.

What’s Included with Dart Editor?


Dart Editor
Dart Editor is a simple but powerful editor. You can conveniently create, edit, and manage Dart projects with it.

Dartium
A special version of Chromium that includes the Dart VM. You can use Dartium to test and debug your Dart web applications. The Dart Editor will automatically open Dartium when you run your projects.

Dart SDK
The directory dart-sdk contains the Dart VM, standard libraries, and command-line tools.

Starting Dart Editor

Dart Editor Executable Start the Dart Editor by double-clicking the executable file in the installation folder.

Dart Editor

Opening the Hello Dart Scenarios

  1. Download the the hello_dart_scenarios.zip file from Hello Dart Releases (use the latest version).
  2. Unzip the files to your computer.
  3. In Dart Editor: Click on File | Open Existing Folder…. Choose the hello_dart_scenarios folder that you have just unzipped.
  4. Use a double-click to open the file my_player.dart from the subfolder web/part1/scenario1.01.

    My Player

  5. Click the Run button Run.

The Chromium browser should now automatically open with the first scenario:

First Scenario

What’s next?

→ Continue with Part 1 to make your first steps in programming.


Credits
Planet Cute images by Daniel Cook (Lostgarden.com), published under CC BY 3.0.
Oleg Yadrov improved the “Planet Cute” images and was so kind to let me use them. The images were optimized with the great TexturePacker.


Comments