September 2019
Beginner
512 pages
12h 52m
English
Not all packages are meant to be shareable; an application itself is also a package. These packages can have dependencies on library packages normally, but they are not intended to be used as a dependency in other projects.
On the other hand, library packages are the ones that contain some useful code that may be helpful in many projects. These types can be used as a dependency and have dependencies on others too.
Put simply, the recommended structure of a Dart package does not differ too much between an application and a library package—their purpose and usage are different from each other.
Read now
Unlock full access