Chapter 3. Introduction to the Dart Language

This chapter includes a series of concise code examples to illustrate many language features found in Dart. You will structure a project for execution as a command-line application. This will allow you to focus solely on the language features. You’ll dive into how Dart interacts with the browser later in the book.

Creating Your First Dart Project

Your first application is going to be for a fictional airline named Just-In-Time Airlines. You’re going to manually build out the directory structure to familiarize yourself with the file structure of a Dart project. You’ll do an in-depth review of library and directory conventions in Chapter 5.

Note

IDEA comes with a bunch of great tools for scaffolding ...

Get Write Web Apps with Dart: Develop and Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.