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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.