O'Reilly logo

Web Programming with Dart by Patricia Juberias, Moises Belchin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 21

image

Using Dart’s Libraries

In this chapter we’ll cover Dart’s libraries, what libraries are, and how to create your own libraries. We’ll show you how to package functions, classes, or constants into a library for later use. Then we’ll see how to create more complex libraries, conformed by multiple source files, and how to re-export a library so that it shows or hides some namespaces.

At the end of the chapter you’ll see an example of how to use several concepts we’ve seen throughout this book, such as abstract classes, libraries, and pub packages. We have already seen how to define variables and functions, use the flow control and iteration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required