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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access