Part 2. Core Dart
In this, the largest part of the book, you’ll learn about the core concepts, language features, and structure required for building Dart applications.
Chapter 4 introduces functions and closures, key concepts in Dart that will be new to developers more familiar with class-based languages such as Java and C#. Functions are core to the language, and anonymous functions are used everywhere, such as handling events from the browser or other systems.
In chapter 5, you’ll see how to create structured Dart applications by organizing your Dart project into libraries. Although Dart is a class-based language, libraries form the smallest unit of privacy in a Dart codebase, rather than classes; you’ll see how this can be used to good ...
Get Dart in Action 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.