Part 3Code Organization

Now that you’ve had your first taste of Dart’s power, we’ll check out something truly unique to Dart: the library system. Previously, we treated the MVC library that we’re building as if we were still limited to JavaScript. That is, we put everything into one large file. Dart comes with a sophisticated built-in library system. As you’ll see, this means that writing large libraries is not only possible but easy.

Get Dart 1 for Everyone 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.