Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
About the Cover Illustration
Part 1. Introducing Dart
Chapter 1. Hello Dart
1.1. What is Dart?
1.1.1. A familiar syntax to help language adoption
1.1.2. Single-page application architecture
1.2. A look at the Dart language
1.2.1. String interpolation
1.2.2. Optional types in action
1.2.3. Traditional class-based structure
1.2.4. Implied interface definitions
1.2.5. Factory constructors to provide default implementations
1.2.6. Libraries and scope
1.2.7. Functions as first-class objects
1.2.8. Concurrency with isolates
1.3. Web programming with Dart
1.3.1. dart:html: a cleaner DOM library for the browser
1.3.2. Dart and HTML5
1.4. The Dart tool ecosystem
1.4.1. The Dart Editor
1.4.2. Dart virtual machine
1.4.3. Dartium
1.4.4. dart2js: the Dart-to-JavaScript converter
1.4.5. Pub for package management
1.5. Summary
Chapter 2. “Hello World” with Dart tools
2.1. The command-line Dart VM
2.2. “Hello World” with the Dart Editor
2.2.1. Exploring the Dart Editor tools
2.2.2. The relationship between Dart and HTML files
2.2.3. Running “Hello World” with Dartium
2.2.4. Using dart2js to convert to JavaScript
2.2.5. Generating documentation with dartdoc
2.2.6. Debugging Dart with breakpoints
2.3. Importing libraries to update the browser UI
2.3.1. Importing Dart libraries
2.3.2. Accessing DOM elements with dart:html
2.3.3. Dynamically adding new elements to the page
2.4. Summary